0

In my storyboard app, I use a tableview one level up from the root view controller. Through interface builder, I linked my prototype cell to the exit on the root view controller, so a selection of a cell unwinds to the home screen. In my root view I'm connecting it to.

- (IBAction)done:(UIStoryboardSegue *)segue
{
}

I'm my tableview controller I wasn't doing anything with didSelectRowAtIndexPath but populating some data items, and it was working. I need to implement an accessory on my cells that pushes to a new view, and I did that with newaccessoryButtonTappedForRowWithIndexPath and a push segue from my table view using performSegueWithIdentifier. While that works, selecting a cell no longer unwinds to the root view. How can I do that?

4

0 回答 0