PretentiousPanda
PretentiousPanda

Reputation: 134

Navigation bar disappears when show segue is executed from one ViewController to another?

I have a ViewController with a tableView in it and when I tap on a cell it performs a segue(show) from that view controller to another viewController with a navigationController embed in it. I have the segue going directly to the ViewController not the navigationController. But when the segue executes, it brings me to the second viewController but the navigation bar that used to be there is gone. How do I fix this?

Upvotes: 0

Views: 831

Answers (1)

emresancaktar
emresancaktar

Reputation: 1567

Your segue must be connected to the SecondViewController's NavigationController. Remake your segue connection from your FirstViewController to SecondViewController's NavigationContoller.

Upvotes: 1

Related Questions