How do I get the navigation controller to show the back button on the navigation bar of the root view controller? When it does the navigation bar shows a left arrow on the left-hand side with a title after it.
I've looked back at some of my old projects.
It seems that the back button is (was ?) automatically inserted when navigation came from a table view cell. The back button does not show in storyboard, but is inserted automatically in the navigation bar, with the name of the view you came from.
The complete set up was:
- a navigation controller linked to a tableview controller (created altogether in IB when creating a navigation controller)
- the link between the 2 is a relationship type (drawn as is a circle with a diagonal line (top left to bottom right) ending with two endpoints)
- the protoype cell is connected to another tableView
Hope that helps.