0

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

Example navigation bar app

There is no status bar but also with a back button.

rmaddy
  • 314,917
  • 42
  • 532
  • 579
  • What have you tried? Post some code please. See here: www.stackoverflow.com/help/mcve – cst1992 May 14 '16 at 14:08
  • push come into existence with navigation controller. However you can hide top navigation bar and add your custom view with back button. Tile etc – maddy May 14 '16 at 14:17

1 Answers1

0

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.

Community
  • 1
  • 1
rmaddy
  • 314,917
  • 42
  • 532
  • 579