简体   繁体   中英

Adding iOS 8 Splash Screen causes App to distort

I have Old App working correctly with following Config of Splash screens 在此处输入图片说明

and this is how it should look 在此处输入图片说明

But as soon as i turn on iOS 8.0 and later and add splash 在此处输入图片说明

My App behave drastically weird like this 在此处输入图片说明

Man, use LaunchImage for iOS 7 (mostly), for iOS 8 and above, add LaunchScreen.xib, or as alternative, you can say your Main.storyboard as launch screen option:

在此处输入图片说明

For Device using iOS 7 you can do as usual, what we used to do using images.xcassets 1] For Device using iOS 8 you can use LaunchScreen.xib

Please note that if your application is developed on Xcode version < 5.0 then it is only compatible to 320px width devices (iPhone 4,4s,5,5s). You have to manually change constraints by checking devices/OS version.

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