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
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.
After a bit of digging I eventually found that the UITableViewCell
identifier was set incorrectly to "CELL_ID
" when it should have been "PLANTCELL_ID
".
Som for anyone else who finds that selecting a UITableViewCell
in a UITableView
does not call the associated segue, check if your cell identifier is set correctly in both the storyboard and tableView:cellForRowAtIndexPath:
.