UIViewController.DismissViewController(Boolean, Action) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 that determines if the transition is to be animated.
- completionHandler
- Action
The method to invoke when the animation completes.
This parameter can be null
.
- Attributes