virenabhyankar
virenabhyankar

Reputation: 251

Xcode 7 GM Show Segue Turns Into Modal Segue

I have an app with a navigation view controller and once a cell is tapped on, a screen is pushed on top of it. However, when testing this app on a simulator and on multiple devices, the push segue somehow turns into a modal segue. These pictures will show a gist of what is happening:

Table View:

enter image description here

What is supposed to happen (Show segue):

enter image description here

What happens instead (Modal segue):

enter image description here

I am running this on an iOS simulator but for my app the result is the same. I have seen people post about this issue taking place on iOS 7, but is this supposed to happen with iOS 9?? Please help.

Thanks!

Upvotes: 4

Views: 754

Answers (1)

Soberman
Soberman

Reputation: 2576

I have found a solution. It appears, that now, in Xcode 7, you should make a segue not to navigation controller, but to your viewController directly, in order to achieve desired push segue.

Upvotes: 5

Related Questions