简体   繁体   中英

Splash screen doesn't disappear on some devices

I have an issue, i wrote a application and tested it on simulator and some devices, everything was fine, but on some devices (on IPhone 5) i saw only launch image and nothing else. What's the problem?

The launch image should disappear on it's own. Try to NSLog on viewDidLoad of the root view controller.

Make sure that you splash screen image name is for

IS_IPHONE_5  = @"Default-568h@2x.png"
IS_IPHONE_4  = @"Default.png"

I think you can drag and drop the splash screen image to launch image 4in 在此处输入图片说明

The solution is really weird, cause in some devices everything is fine, in some devices not. In the beginning I used ARC, and when i rebuilt project without ARC, the bug was fixed. Maybe there is some problem in device or elsewhere, don't really know.

Try to do this way, Write sleep(no.of seconds); in app delegate did finish launching options method.It is work for me. Hope this helps to You.

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