UIViewController.CanPerformUnwind Method

Definition

Specifies whether this UIViewController supports the specific unwind segue

[Foundation.Export("canPerformUnwindSegueAction:fromViewController:withSender:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool CanPerformUnwind (ObjCRuntime.Selector segueAction, UIKit.UIViewController fromViewController, Foundation.NSObject sender);
abstract member CanPerformUnwind : ObjCRuntime.Selector * UIKit.UIViewController * Foundation.NSObject -> bool
override this.CanPerformUnwind : ObjCRuntime.Selector * UIKit.UIViewController * Foundation.NSObject -> bool

Parameters

segueAction
Selector

The action that the target UIViewController should perform immediately prior to the segue executing.

fromViewController
UIViewController

The initiating UIViewController.

sender
NSObject

The object that sent the action.

Returns

Returns true if this supports the specific unwind segue.

Attributes

Remarks

“Unwind actions” occur when a storyboard segues back through the sequence of UIViewControllers that brought the application to its current state. This method is called to determine if this UIViewController supports an unwind segue with the specified parameters.

Applies to

See also

  • <xref:UIKit.UIViewController.GetSegueForUnwinding>