I want to have 2 view controller with a navigation bar, but without the status bar.
How can I push these two controllers? Is it possible without the navigation controller?
Here is one example
There is no status bar but also with a back button.
I want to have 2 view controller with a navigation bar, but without the status bar.
How can I push these two controllers? Is it possible without the navigation controller?
Here is one example
There is no status bar but also with a back button.
Using a UINavigationController
(giving you the navigation bar and the back button) is a completely separate task from whether the status bar shows or not.
So use a UINavigationController
to properly and easily push and pop your view controllers as needed.
To hide the status bar, please see Hide Status Bar In iOS 8 app.