I have set my status bar style to light for my project and it work like charm, but i need to change the style to black for one viewController I'm using this :
In my viewDidLoad method, I call:
[self setNeedsStatusBarAppearanceUpdate]
and set :
- (UIStatusBarStyle) preferredStatusBarStyle {
return UIStatusBarStyleBlackTranslucent; }
But my status bar still light.
try in the specific viewContrller you want the status bar normal
- (UIStatusBarStyle) preferredStatusBarStyle {
return UIStatusBarStyleDefault; }