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