【问题标题】:splash screen error with xcode 9.2xcode 9.2的闪屏错误
【发布时间】:2018-05-27 12:15:50
【问题描述】:

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

这是上传到 LaunchImage 的图片:

这是应用程序的一般属性:

我有这些警告:

: 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.

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

【问题讨论】:

标签: ios ios7 ios5


【解决方案1】:
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

【讨论】:

  • 你如何设置 splash images.xcassets 或 default@
  • 我不明白你的意思,但是我将图像拖放到 images.xcassets 和 xcode 设置热,图像名称不以 default@ 开头
【解决方案2】:
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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2018-07-14
    • 1970-01-01
    • 2018-07-07
    • 2020-10-04
    • 1970-01-01
    • 1970-01-01
    • 2016-06-15
    相关资源
    最近更新 更多