1, add launchimage in images.xcassets
2. Delete launchscreen.xib
3, in supporting files in the info.plist file, remove Launch Screen interface ...
In the config file Target---> project name ---->general----->
4. Change the second line above to the above name
5,- (BOOL) Application: (UIApplication *) application didfinishlaunchingwithoptions: (Nsdictionary * ) Launchoptions {
if ([[[[Uidevice Currentdevice] systemversion] floatvalue] >= 7.0) {
This line is used in conjunction with view controller-based status bar appearance=no in the plist file to resolve the status bar All Black problem
[Application setstatusbarstyle:uistatusbarstylelightcontent];}
Pause the start animation for 2 seconds
[Nsthread sleepfortimeinterval:2.0];
Make the entry interface not full black, white
Self.window = [[UIWindow alloc] initwithframe:[[uiscreen mainscreen] bounds]];
Self.window.backgroundColor = [Uicolor Whitecolor];
[Self.window makekeyandvisible];
return YES;
}
iOS boot animations