First, I've read almost all of the questions and answers on the web and SO about navigation bar/back button/title/navigation item etc. I have a navigation controller and view controllers. Nothing fancy. Whatever I do, I can't display a back button when I push a new view controller. Neither via storyboard push segues nor programmatically pushing. My view controller and navigation bar displays correctly, when I tap where where the back button should be, it does work, it pops the view controller, however, it's not displayed.
Before you say, I'll list what I've done:
- I've got the navigation controller's Shows Navigation Bar set to yes.
- I've set a title to my root view controller inside the navigation controller on storyboard.
- I've set a back button title to my root view controller inside the navigation controller on storyboard.
- I don't have any custom code involving navigation bar/navigation item/left bar button/right bar button/hides back button/back button item.
- I've set a title for my navigation controller.
Whatever I do, my back button doesn't get displayed. When I debug, it's set to nil
. I've tried instantiating one but it didn't help either. What am I missing?