Ios – Can you add buttons to navigation bars through storyboard


At the moment, I've been adding navigation buttons like follows:

self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"Add"

It seems a bit silly to not add them through storyboard, but I can't find a way to do so. Is there one that I'm missing?

Best Solution

You can just drag out a Bar Button Item and drop it on the right end of the view controller's navigation bar:

enter image description here

Related Question