UIViewController.GetSegueForUnwinding Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines the segue to be used between two UIViewControllers.
[Foundation.Export("segueForUnwindingToViewController:fromViewController:identifier:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.None, null)]
public virtual UIKit.UIStoryboardSegue GetSegueForUnwinding (UIKit.UIViewController toViewController, UIKit.UIViewController fromViewController, string identifier);
abstract member GetSegueForUnwinding : UIKit.UIViewController * UIKit.UIViewController * string -> UIKit.UIStoryboardSegue
override this.GetSegueForUnwinding : UIKit.UIViewController * UIKit.UIViewController * string -> UIKit.UIStoryboardSegue
Parameters
- toViewController
- UIViewController
The UIViewController at which the segue will end.
- fromViewController
- UIViewController
The UIViewController at which the segue began.
- identifier
- String
The segue’s identifier.
Returns
The segue to be used.
- Attributes
Remarks
Application developers that create custom UIViewControllers that use segue unwinding must implement this method. This method should instantiate and return a UIStoryboardSegue that performs the appropriate animations and application state-manipulation for the specified unwinding.