我有这些警告:
: 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.
我不知道需要哪些额外尺寸以及如何添加它们, 我该怎么办?
答案 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