Called when an unwind segue action needs to transition between two view controllers.
- iOS 6.0–9.0Deprecated
- tvOS 9.0–9.0Deprecated
The target view controller.
The view controller initiating the unwind action.
An identifier for the segue.
A segue object for managing the transitions between the two view controllers.
If you implement a custom container view controller that also uses segue unwinding, you must override this method. In your custom implementation, instantiate and return a segue object that performs whatever animation and other steps that are necessary to unwind the view controllers.
You do not need to override this method for view controllers that are not containers.