gpt4 book ai didi

iOS:无法设置 LaunchImage

转载 作者:行者123 更新时间:2023-11-29 03:03:58 25 4
gpt4 key购买 nike

我的 iPhone Xcode 5.1 项目中有 LaunchImage.png 文件。我已在 app .plist 文件中添加了 LaunchImage.png 。我已将此文件拖放到 LaunchImage 图像 xcassets 中。但是,在构建 xcode 项目时仍然会抛出错误

/Users/MyApplication/Images.xcassets: The launch image set named "LaunchImage" did not have any applicable content.

可能是什么原因,请帮忙!

谢谢你!

最佳答案

This is due to the dimension of the image. Before the error, there is a warning message also check out that .

来自 Doc

Create launch images in different sizes for different devices. Launch images for all devices must include the status bar region. Create launch images in the following sizes:

For iPhone 5 and iPod touch (5th generation):

640 x 1136 pixels For other iPhone and iPod touch devices:

640 x 960 pixels 320 x 480 pixels (standard resolution) For iPad portrait:

1536 x 2048 pixels 768 x 1024 pixels (standard resolution) For iPad landscape:

2048 x 1536 pixels 1024 x 768 pixels (standard resolution)

关于iOS:无法设置 LaunchImage,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22983788/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com