Share via


UINavigationController.PopToViewController(UIViewController, Boolean) Method

Definition

[Foundation.Export("popToViewController:animated:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual UIKit.UIViewController[] PopToViewController(UIKit.UIViewController viewController, bool animated);
[<Foundation.Export("popToViewController:animated:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member PopToViewController : UIKit.UIViewController * bool -> UIKit.UIViewController[]
override this.PopToViewController : UIKit.UIViewController * bool -> UIKit.UIViewController[]

Parameters

viewController
UIViewController
animated
Boolean

Returns

Attributes

Applies to