Have you tried this?
-
Set “View controller-based status bar appearance” (
UIViewControllerBasedStatusBarAppearance) toYESin your Info.plist. (YESis the default, so you can also just leave this value out of your plist.) -
In your viewDidLoad method, call
[self setNeedsStatusBarAppearanceUpdate]. -
Implement
preferredStatusBarStyle, returning the status bar style that you want for this view controller.- (UIStatusBarStyle) preferredStatusBarStyle { return UIStatusBarStyleLightContent; }