UINavigationBar height
Posted
by kpower
on Stack Overflow
See other posts from Stack Overflow
or by kpower
Published on 2010-05-19T09:50:59Z
Indexed on
2010/06/03
4:24 UTC
Read the original article
Hit count: 851
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".
© Stack Overflow or respective owner