UIViewController.DismissViewControllerAsync(Boolean) UIViewController.DismissViewControllerAsync(Boolean) Method

Definition

Dismisses the presented view controller.

public virtual System.Threading.Tasks.Task DismissViewControllerAsync (bool animated);
abstract member DismissViewControllerAsync : bool -> System.Threading.Tasks.Task
override this.DismissViewControllerAsync : bool -> System.Threading.Tasks.Task

Parameters

animated
Boolean Boolean

Boolean that determines if the transition is to be animated.

Returns

A task that represents the asynchronous DismissViewController operation

Applies to