편집

다음을 통해 공유


UIViewController.GetSegueForUnwinding Method

Definition

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.

Applies to

See also