I have a TabbarViewController
. In one tab, when navigating to a specific ViewController
(a details image view), I want to hide the status bar.
I have read this link:
How to hide a status bar in iOS?
But in my case, it doesn't work, because I don't want to hide the status bar in the whole app, but just in a specific ViewController
.
Is there a way to acheive hiding the scrollbar only in a certain tab?
*Edit: The ViewController I want to hide status bar is a PageViewController. Is that the problem?