NSInvalidArgumentException reason Receiver has no segue with identifier

后端 未结 4 2134
说谎
说谎 2021-02-07 20:18

I have problem I\'ve been sitting with. I have a UIViewController List and a UIViewController Login. On Login I have a button \"Done\", al

4条回答
  •  盖世英雄少女心
    2021-02-07 20:23

    sharedLogin = [[self alloc] init];
    

    try this

    sharedLogin = [self.storyboard instantiateViewControllerWithIdentifier:@"xxxx"];

    you must set IdentifierName in storyboard LoginViewController

提交回复
热议问题