Reputation:
I am having a minor problem with segue using push in Xcode's storyboards. Its pretty straightforward: even with the simplest case, I can't manage to get it working.
The setup: http://d.pr/i/ahCG
Which is basically just a 1-view project, added another view controller, embedded that into a navigation controller and made the segue and setting the mode to "push". There is absolutely nothing happening when I push the test button. If I make the segue with modal however, it works fine.
What am I doing wrong?
Upvotes: 1
Views: 4538
Reputation: 126107
You need to embed the source view (not the destination view) into a nav controller to do a push segue.
Upvotes: 7