Reputation: 1
How can I change the default height of the Navigation bar in a Navigation Controller?
I've come across "This" great article:
But this all just style and color and what not for the "NavigationBar".
And just so you know, I mean extend the total height, because the design I'm working on, the Nav Bar is bigger in height.
Upvotes: 0
Views: 3682
Reputation: 906
[[UINavigationBar appearance] setFrame:CGRectMake(0, 0, 320, 60)];
Upvotes: 0
Reputation: 246
In iOS7 Frame starts below the status bar , so y=0 means it will be under the status bar.You should Change to y=20.
Upvotes: 0
Reputation: 94
You can change the height of the nav bar programatically...
[navBar setFrame:CGRectMake(0, 0, 320, 64)];
becomes this
Upvotes: 3