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일 수 있습니다.

특성

적용 대상