Set the UIViewControllerBasedStatusBarAppearance to NO in the Info.plist.
the UIViewControllerBasedStatusBarAppearance
NO
Info.plist
In ViewDidLoad method or anywhere, where do you want to change status bar style:[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent];
ViewDidLoad
[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent];