Reputation: 53
How to create topbar like in right controller (it has width more than in left navcontroller)?
i've tried to create any controllers with same properties, but width of bar in left navcontroller and right are same.
Upvotes: 3
Views: 2593
Reputation: 1399
You can change the nav bar height
programmatically:
[navBar setFrame:CGRectMake(0, 0, 320, 84)];
Edit: As I wrote in the comments, you may have to put this line in viewDidLayoutSubviews to circumvent autolayout.
Upvotes: 1
Reputation: 82759
do like select your Viewcontroller
--> select navigationBar
--> go to attribute Inspector on NavigationItem
--> select Prompt
--> add one/More space in your keyboard on their field , it increase size on your TopBar/NavigationBar Height
for example
Upvotes: 5