简体   繁体   中英

Launch screen is black in iPhone4 with deployment target 7.0 and Xcode 7.1-7.2

I have this environment:

OS X EL capitan 10.11.1 | Xcode 7.1 and test in real device iPhone4 with iOS 7.1

My Deployment target is 7.0 and use Assets Catalog for Launch Screen and images.

应用程序图标

启动图像信息

I don't have any problems in iOS 8 and 9 but in iOS 7 i have Black screen.

I tried several answers found in Stackoverflow as: 1) Use LaunchScreen.storyboard 2) Add info.plist "Launch screen interface file base name" 3) Remove complete LaunchScreen completely.

All with no success.

Any other ideas?

After install Xcode 7.2 I'm still have a problem but I use this workaround.

Unselected IOS 7 and later options and left IOS 6.0 and Prior (believe it or not).

在此处输入图片说明

For IOS 8 and later add LaunchScreen with AutoLayout.

在此处输入图片说明

The only trade off is a warning for a mandatory iPhone image inside Launch Screen Catalog but prefer this warning instead black screen in iOS 7.

This thread help me a lot .

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