This should be absolutely trivial but I can't find anything so:
I have a simple storyboard with navigation controller where I push a view controller, let's call it "Jane", from a view controller called "Bob".
So Bob wants to do something whenever Jane is dismissed after tapping the "back" button, like so:
- (IBAction) janeWasDismissed:(UIViewController *)jane
{
// bob wants to ask what Jane did.
}
It's the simplest thing right? But I can't figure it out, surely Unwind Segues are not the right way? There must be a simple click & drag operation for this in Interface Builder, or a method on UIViewController which is called when the pushed view controller has popped?
thanks!