prepareForSegue not called when UITableView row selected?

后端 未结 2 701
一整个雨季
一整个雨季 2021-01-11 11:27

I have setup a UITableView using a NSFetchedResultsController that displays a number of prototype UITableViewCells. I have hooked up a push segue from my UITableViewCell to

2条回答
  •  既然无缘
    2021-01-11 11:42

    Rewire your segue from the ViewController itself and give it a name. Then in the didSelectRow method call

    [self performSegueWithIdentifier:@"yourSegueName"];    
    

    and see if it fires.

提交回复
热议问题