| published on
February 20, 2014
UIStoryboards can help visualize your screen flow and even describe how to transition between view controllers using segues. In this episode I'll show you how you can take advantage of built-in support to unwind segues to back to where you came from. I'll show the automatic way as well as how to manually unwind a segue.
If you'd like to learn a lot more about storyboards, I highly recommend Daniel Steinberg's iOS Storyboards book.
Creating the unwind IBAction
This is sort of counter-intuitive, but you have to create the action on the controller you want to unwind to. The the method signature has to accept a UIStoryboardSegue as the argument, however the name does not matter.