Called when an unwind segue action wants to search a container's children for a view controller to handle the unwind action.
- iOS 6.0–9.0Deprecated
- tvOS 9.0–9.0Deprecated
The action that triggered the unwind action.
The view controller that is the source of the unwinding action.
The object that initiated the action.
The view controller that wants to handle the unwind action.
A custom container view controller should override this method and use it to search its children for a view controller to handle the unwind action. It does this by invoking the
can method on each child. If a view controller wants to handle the action, your method should return it. If none of the container's children want to handle the unwind action, invoke the super’s implementation and return the result of that method.