UIViewController.DismissViewController(Boolean, Action) メソッド

定義

表示されたビュー コントローラーを閉じます。

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

パラメーター

animated
Boolean

切り替えをアニメーション化するかどうかを決定するブール値。

completionHandler
Action

アニメーションの完了時に呼び出すメソッド。

このパラメーターは、null に設定できます。

属性

適用対象