I drag out a toolbaritem in storyboard and set it on my nav controller, but when I run my code it’s not there, is there something I’m missing?
EDIT:
Tried setting it in code as well in my viewDidLoad method:
UIBarButtonItem *rightBarButton = [[UIBarButtonItem alloc] initWithTitle:@"Map" style:UIBarButtonItemStyleBordered target:self action:@selector(viewMap)];
self.navigationItem.rightBarButtonItem = rightBarButton;
Won’t work either.
Here’s how it’s set up in my storyboard:

UPDATE:
Just found my problem. In my controller code when I update it’s contents I change the right bar button item for a spinner and never set it back to what it had before.
UINavigationControlleralready has a toolbar built in. It has a propertytoolBarHiddenwhich is set toYESby default, which is why it is not normally seen. If you are using storyboard you can easily make the built-in bottom toolbar visible by checking the checkbox “Shows Toolbar” in the inspector when the Navigation Controller is selected.See the UINavigationController documentation here for more details.
EDIT:
Ok, it sounds like what you are trying to do is add a right button to your view controller’s
UINavigationItem. To do this in storyboard, drag a “Bar Button Item” from the Objects Library onto the Navigation Item in your ViewController. You can then set the title/style/etc of the bar button item. If nothing still shows up when you run your app, make sure that your ViewController is connected properly with a segue to the navigation controller.Also make sure you are adding the Bar Button Item to your view controller’s Navigation Item, NOT to the View Controller itself. Here is how the setup should look in your storyboard: