IPhone : has no segue with identifier 'openMap'?

on Saturday, February 21, 2015

I have an app that launches with one controller view and storyboard view... That View is an SKView and rather than the layout build my buttons are placed with code so I have no IBActions.


I have another storyboard scene that is a map view. Connecting them I have a modal segue called 'openMap'


enter image description here


In my original controller I am calling a method



func showMap(){
performSegueWithIdentifier("openMap",sender:self)
}


but when I do that I get


2015-02-21 11:53:19.651 MyGame[8277:146302] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Receiver () has no segue with identifier 'openMap''


0 comments:

Post a Comment