How to specify the left, right, or title View button in XIB
Posted
by
Sharen Eayrs
on Stack Overflow
See other posts from Stack Overflow
or by Sharen Eayrs
Published on 2012-11-26T07:40:24Z
Indexed on
2012/11/26
11:05 UTC
Read the original article
Hit count: 245
objective-c
|xcode4.5
- I do not want to create a custom navigation bar.
- I am pushing a UIViewController and I want to customize how the navigation bar looks for that UIViewController
In story board, we just specify the segue and a nav bar show up on the screen. We just drag and drop UIBarItem to the left and right.
In XIB, the navigationBar simply doesn't show up.
I can add navigation Item but the one I added is ignored.
I've heard that there used to be an outlet called navigationItem but it's deprecated for reason I do not know. I can add UINavigationBar, however that would be adding my own custom bar. I want the navBar that's provided by UINavigationController.
© Stack Overflow or respective owner