'Receiver () has no segue with identifier 'addSegue'

后端 未结 4 1702
离开以前
离开以前 2020-11-27 08:31

I have a navigation controller that has a segue links between them called \"addSegue\". When I click on the tableView cell though the app crashes and I get the

4条回答
  •  臣服心动
    2020-11-27 08:38

    I had this same problem and actually my problem was that I was calling

    WRONG: [self.navigationController performSegueWithIdentifier:@"ShowVerify" sender:self];
    

    instead of

    CORRECT: [self performSegueWithIdentifier:@"ShowVerify" sender:self];
    

    so check that you are calling correct performSegueWithIdentifier method :)

提交回复
热议问题