使用xcode 9.2启动屏幕错误

时间:2017-12-13 14:48:55

标签: ios ios7 ios5

我想将应用上传到商店,但我遇到了这个问题: enter image description here

这是上传到LaunchImage的图片: enter image description here

这是应用程序的一般属性: enter image description here

我有这些警告:

: You're targeting iOS 8.0, but named colors can only be accessed from an Asset Catalog in iOS 11.0 and later.

 An iPhone Retina (4-inch) launch image for iOS 7.0 and later is required.

我不知道需要哪些额外尺寸以及如何添加它们, 我该怎么办?

2 个答案:

答案 0 :(得分:0)

Use below size images 

Portrait
iPhone

3.5 Inch => 640 x 960  
4.0 Inch => 640 x 1136 
4.7 Inch => 750 x 1334
5.5 Inch => 1242 x 2208
5.8 Inch => 1125 x 2436

iPad

1536 x 2048


[![enter image description here][1]][1]


  [1]: https://i.stack.imgur.com/eD6gh.png

答案 1 :(得分:0)

Please follow below steps: 

1. Project Target settings remove Launch Screen File
2. Enable Launch Image Source with Assets.xcassets
3. Add LaunchImage set in Assets.xcassets and assign correct size images

For ex Portrait Sizes:


iPhone

3.5 Inch => 640 x 960  
4.0 Inch => 640 x 1136 
4.7 Inch => 750 x 1334
5.5 Inch => 1242 x 2208
5.8 Inch => 1125 x 2436

iPad

1536 x 2048

4. Project Target change Launch Image Source to LaunchImage

[![enter image description here][1]][1]


  [1]: https://i.stack.imgur.com/ukSHj.png