Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why can't I use the show segue in xcode 6.1?

So I was doing a test for another swift project and I wanted to connect a TableViewController that had a NavigationController embedded in to a regular ViewController using a segue between a bar button item and the second ViewController. When I control-drag the button to the ViewController, I only get the following options:

From what I understand, I should see a long list of items including show and show detail. Even if I connect them with push or any other segue, I can't select show or show detail as the type of segue if I select the segue. What am I doing wrong? I have not made modifications to ViewController.swift. Thanks!

like image 678
user3832611 Avatar asked Nov 05 '14 00:11

user3832611


1 Answers

The new adaptive segue choices, "show", "show detail", and "present modally", and "popover presentation" are only available if you're using size classes. This makes sense because there's no need for the segue to be adaptive if you're not using size classes.

like image 95
rdelmar Avatar answered Sep 23 '22 05:09

rdelmar