Cannot add right bar button in navigation bar in storyboards iOS8
Well, it seems there is a problem with the differences between new segues introduced in iOS 8 and the old ones. In this case it is the difference between
push segues which allows adding a right bar button in storyboard and
show segue which if added automatically (dragging from a controller to another) does not allow dropping the button in the navigation bar.
The reason is when using the old segues, the controller would automatically be given a navigation bar, thus you can add elements to it, while if using the new segues the navigation bar is not automatically added to the controller in the storyboard.
What solved this issue for me was:
- Selecting the segue which leads to the problematic controller
- Changing it to the "deprecated"
- Changing it back to the accepted
Result: Now I can add as always the right bar button item through Storyboard.