I want to go from a black statusbar to a white statusbar.
This is my vc structure: A -> nav controller -> B
Somehow I can't seem to set it to white, whatever I try. I tried the simplest solution of setting the navigationController's style to black, but that won't work either!! I'm stuck on this for hours, and I've even tried to a custom extension on UINavigationController
but somehow the statusbar seems really unresponsive. For reference, this is my nav/statusbar like:
This is my setup in VC B:
self.navigationController.navigationBar.barStyle = UIBarStyleBlackTranslucent;
[self preferredStatusBarStyle];
Am I missing something big? How can the statusbar be black when the navbar is black too?