UIViewController.PresentModalViewController(UIViewController, Boolean) メソッド

定義

アプリケーション開発者は、この非推奨のメソッドの代わりに を使用 PresentViewController(UIViewController, Boolean, Action) する必要があります。

[Foundation.Export("presentModalViewController:animated:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, "Use 'PresentViewController (UIViewController, bool, NSAction)' instead and set the 'ModalViewController' property to true.")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void PresentModalViewController (UIKit.UIViewController modalViewController, bool animated);
abstract member PresentModalViewController : UIKit.UIViewController * bool -> unit
override this.PresentModalViewController : UIKit.UIViewController * bool -> unit

パラメーター

modalViewController
UIViewController

UIViewController表示される 。

animated
Boolean

true プレゼンテーションをアニメーション化する場合は 。

属性

注釈

このメソッドは非推奨であり、アプリケーション開発者は代わりに を使用 PresentViewController(UIViewController, Boolean, Action) する必要があります。

適用対象