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) 합니다.

적용 대상