UIViewController.PresentViewController メソッド

定義

ビュー コントローラーをモーダルで表示します。

[Foundation.Export("presentViewController:animated:completion:")]
public virtual void PresentViewController (UIKit.UIViewController viewControllerToPresent, bool animated, Action completionHandler);
abstract member PresentViewController : UIKit.UIViewController * bool * Action -> unit
override this.PresentViewController : UIKit.UIViewController * bool * Action -> unit

パラメーター

viewControllerToPresent
UIViewController

現在のビュー コントローラーのコンテンツを表示するビュー コントローラー。

animated
Boolean

プレゼンテーションをアニメーション化するかどうかを示すブール値。

completionHandler
Action

プレゼンテーションの完了後に実行する完了アクション。

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

属性

適用対象