4

I have multiple UIViewControllers in a UINavigationController. Sometimes I show the bar, sometimes I don't. How do I make the navigation bar show without pushing down the view?

sudo make install
  • 5,629
  • 3
  • 36
  • 48
m0rtimer
  • 2,023
  • 1
  • 25
  • 31

2 Answers2

13

The navigation bar will always push down the view unless it's set to be translucent.

Rengers
  • 14,911
  • 1
  • 36
  • 54
0

You can override pushViewController: method

eviltrue
  • 679
  • 8
  • 9