UIStatusBar color change to white when Splash screen showing UIStatusBar color change to white when Splash screen showing xcode xcode

UIStatusBar color change to white when Splash screen showing


Use the above code in didFinishLaunchingWithOptions

[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent];

//You can also use in View Controller.m file and add the following code

- (UIStatusBarStyle)preferredStatusBarStyle{return UIStatusBarStyleLightContent;}

Also if you don't want the status bar during app launch/Splash screen go to plist and set

Status bar is initially hidden=YES

It will hide the status bar during splash screen


Change Status Bar Style from Default to Light:

enter image description here

(click for bigger image)