NSInvalidArgumentException reason Receiver has no segue with identifier
问题 I have problem I've been sitting with. I have a UIViewController List and a UIViewController Login . On Login I have a button "Done", also another hidden button on the same UIViewController that has a segue to List (Type: push). I gave it an identifier in the interface builder of xcode named "LoginToList". Now from another class (a class that runs while Login is the active controller) I call: [[Login sharedLogin] performSegueWithIdentifier:@"LoginToList"]; The Login class clearly has a segue