Reputation: 625
I have a problem, I used "push" to pass from a view to another one, and now with the upgrade sdk 8.0, it's deprecated. So what should i use?
Upvotes: 1
Views: 1485
Reputation: 186
If you want to use a Storyboard Segue you have to use Show (e.g. Push) segue. This could be a possible duplicate: Adaptive segue in storyboard Xcode 6. Is push deprecated?
To make the new Show segue to acts like a Push segue, the controller has to be embedded in a navigation controller, otherwise, it acts simply like a modal segue. To embed your controller in a NavigationController, select the TableViewController from the storyboard, than select Editor->Embed In->Navigation Controller from the Xcode menu.
Upvotes: 1