Sauron
Sauron

Reputation: 6657

Back button does not appear in viewcontroller

I wish to simply add a back button to the view controller, when accessed from a TableView in my app.

I have embedded the resulting ViewController within the navigation controller, and the back button is simply supposed to appear as documentation notes, but it does not...

enter image description here

Upvotes: 1

Views: 415

Answers (1)

asifmohd
asifmohd

Reputation: 997

Remove the UINavigationController between FriendsViewController and IndividualChatController.

When you push a new navigationController, it creates a new navigation stack with its own navigationBar and therefore you don't see a back button in the navigationBar

Upvotes: 3

Related Questions