UIViewController.DismissViewController(Boolean, Action) UIViewController.DismissViewController(Boolean, Action) Method

Definition

Dismisses the presented view controller.

[Foundation.Export("dismissViewControllerAnimated:completion:")]
public virtual void DismissViewController (bool animated, Action completionHandler);
abstract member DismissViewController : bool * Action -> unit
override this.DismissViewController : bool * Action -> unit

Parameters

animated
Boolean Boolean

Boolean that determines if the transition is to be animated.

completionHandler
Action Action

The method to invoke when the animation completes.

This parameter can be null.

Applies to