Share via


UIViewController.DismissViewControllerAsync(Boolean) Method

Definition

Dismisses the presented view controller.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task DismissViewControllerAsync(bool animated);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member DismissViewControllerAsync : bool -> System.Threading.Tasks.Task
override this.DismissViewControllerAsync : bool -> System.Threading.Tasks.Task

Parameters

animated
Boolean

Boolean that determines if the transition is to be animated.

Returns

A task that represents the asynchronous DismissViewController operation

Attributes

Applies to