I need to change status bar style depending on the view controller so in my plist-file "View controller-based status bar appearance" is set to YES.
And I need to sometimes hide the status bar!
I'm trying to use setStatusBarHidden but it seems to work only if "View controller-based status bar appearance" is set to NO ...
So is there a way to hide the status bar ?
prefersStatusBarHidden
method in your view controller – dan