简体   繁体   中英

Use static launch Images instead of launch file

I want to use static launch Images instead of launch file, so I have created a LaunchImage folder in Images.xcassets . I have also deleted LaunchScreen.xib and made some settings. 在此处输入图片说明在此处输入图片说明

But on iOS Simulator, the launch image is still the same as before without the images I have added. How can I deal with this?

You just have to let the field Launch Screen File empty. If you let this field fill, it will be used by your project.

Also, if you don't have any launch image sources in your cassettes, you will just have a black screen until you fill them.

必须添加正确尺寸的图像(适用于您的应用支持的所有设备尺寸)。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM