Segue won't unwind

I control-dragged a bar button item on the navigation bar of a table view controller that uses a navigation controller to the exit icon of the table view controller. I was able to select an unwind function for it. However, when I run the code, it won’t unwind. when I click the bar button item, it doesn’t do anything. Neither the prepareForSegue nor the unwind function is executed. What should I check?

Have you set the identifier of the Unwind segue ?

Yes. I got it to work somehow. This is erratic.

This topic was automatically closed after 166 days. New replies are no longer allowed.