Reputation: 163
I have a UITableViewController in the detailViewController of the tableview I have a infoButton on the navigationBar onClick of that infoButton infoViewController displays . How do I get the navigation bar on infoViewController?
Upvotes: 1
Views: 50
Reputation: 923
You have to use push so it will automatically be pushed to this current navigation stack. but if you try to present it then you will not get any navigation bar.
Upvotes: 0
Reputation: 2882
You just need to-: Embed navigation controller with first controller.And add segue connections
Upvotes: 1