'Receiver has no segue with identifier' when identifier exists
问题 For an iOS app, I have a story board and multiple controllers, and a segue going from controller GameClass to controller SettingsClass . The segue, in view Controller GameClass has an identifier called GameToSettings : However, when I want to call the segue from my GameClass : [self performSegueWithIdentifier: @"GameToSettings" sender: self]; I get the error message *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Receiver (<GameClass: 0xcf0c550>) has no