ios – 如何调试未找到的闪屏图像?

前端之家收集整理的这篇文章主要介绍了ios – 如何调试未找到的闪屏图像?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
当我在iPhone 5S,6或6S上运行我的应用程序时,会出现闪屏.当我在6 Plus或6s Plus上运行时,我没有看到闪屏,我在XCode日志中得到了这个:

警告:找不到名为LaunchImage-800-Portrait-736h的闪屏图像

以下是我的AppRoot / Resources / Images.xcassets的内容

enter image description here

我关注的所有设备和方向都已填写.

它从google搜索看起来是LaunchImage-800-Portrait-736h是XCode在没有给出图像名称时查找的默认名称.如何才能使用Images.xcassets中列出的图像?

解决方法

Plese see this image

修复资产目录的splashscreen插件文件名.

并将此大小的图像用于资产目录

1: 4.0 inch screen: Default-568h@2x.png
 2: 4.7 inch screen: Default-667h@2x.png
 3: 5.5 inch screen: Default-736h@3x.png
 4: Default.png

猜你在找的Xcode相关文章