Share via


UIViewController.PresentViewController Method

Definition

[Foundation.Export("presentViewController:animated:completion:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void PresentViewController(UIKit.UIViewController viewControllerToPresent, bool animated, Action? completionHandler);
[<Foundation.Export("presentViewController:animated:completion:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member PresentViewController : UIKit.UIViewController * bool * Action -> unit
override this.PresentViewController : UIKit.UIViewController * bool * Action -> unit

Parameters

viewControllerToPresent
UIViewController
animated
Boolean
completionHandler
Action
Attributes

Applies to