ShingHung
ShingHung

Reputation: 337

xcode: action segue only has Push, Modal and Custom

Why my action segue of storyboard only Push, Modal and Custom(Picture1). Picture1: https://i.sstatic.net/SWnqi.png

I want the action segue to display show, show detail...

How to display the show, show detail on the action segue?

Thank you


Why I have no the action https://i.sstatic.net/7r3f9.png

Upvotes: 1

Views: 912

Answers (2)

nsinvocation
nsinvocation

Reputation: 7637

Select segue, on the right pane select 'Attributes Inspector' and see 'Kind' field. You can select desired segue type:

enter image description here

enter image description here

If you don't see 'Adaptive Segues' section this means storyboard is not using 'Size Classes', to enable it, select storyboard then 'File Inspector', under 'Interface Builder Document' section check 'Use Size Classes' option.

enter image description here

Upvotes: 2

Bhavin Bhadani
Bhavin Bhadani

Reputation: 22374

Just select segue -> in right panel select attribute inspector -> kind , there you can see all the options...

enter image description here enter image description here

Upvotes: 1

Related Questions