Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Swift segue identifier always nil, Storyboard ID not working

I'm trying to use a Storyboard ID to tell what View I'm segue to, and based on that, pass on certain information. But no matter what I do, the segue.identifier is always nil. Heres a screenshot of my settings for the view I'm segueing to:

enter image description here

like image 257
Alexis Dumas Avatar asked Oct 13 '15 00:10

Alexis Dumas


People also ask

How do you set a segue identifier in a storyboard?

Open Main. storyboard and select the segue named Show segue to “Choose Game”. Then from the Attributes inspector change its Identifier to PickGame.


1 Answers

Select the segue on the storyboard, and this is the segue identifier. enter image description here

like image 92
Leo Avatar answered Oct 23 '22 13:10

Leo