In my app I work with an UINavigationController. I've added it to the window (MainWindow.xib
, with IB) and simulated on my main view (in IB: Simulated User Elements / Top Bar / Navigation Bar).
Navigation bar is displayed, but its height isn't standard. At least in IB it is bigger than in launched app.
What's wrong? And how can I restore height to the initial state (as in IB)?
P.S.: I know that I can set it directly from code. But this way looks like a "crutch".