This has already been answered, but the above did not give me a complete solution, so I thought I would share it.
For me, the unwinding method was never called, so I could not do what was described above. Instead, I made a simple button with IBAction and named it. Swift example below:
@IBAction func cancelToRecipeController() { self.dismissViewControllerAnimated(true, completion: nil) print("cancel to recipe controller ran") }
Thanks @rdelmar above for calling the method!
(This was added for ios 9)
Wraithbone
source share