UIAdaptivePresentationControllerDelegate_Extensions 클래스

정의

프로토콜의 모든 메서드를 IUIAdaptivePresentationControllerDelegate 지원하기 위해 인터페이스에 대한 확장 메서드입니다 UIAdaptivePresentationControllerDelegate .

public static class UIAdaptivePresentationControllerDelegate_Extensions
type UIAdaptivePresentationControllerDelegate_Extensions = class
상속
UIAdaptivePresentationControllerDelegate_Extensions

설명

개발자는 에 대한 IUIAdaptivePresentationControllerDelegate 확장 메서드를 사용하여 인터페이스의 인스턴스를 원래 UIAdaptivePresentationControllerDelegate 프로토콜의 모든 선택적 메서드를 갖는 것으로 처리할 수 있습니다. 인터페이스에는 필요한 멤버만 포함되므로 이러한 확장 메서드를 사용하면 개발자가 프로토콜의 선택적 멤버를 호출할 수 있습니다.

메서드

GetAdaptivePresentationStyle(IUIAdaptivePresentationControllerDelegate, UIPresentationController)

를 변경한 후 사용할 새 프레젠테이션 스타일을 반환합니다 forPresentationController.

GetAdaptivePresentationStyle(IUIAdaptivePresentationControllerDelegate, UIPresentationController, UIModalPresentationStyle)
사용되지 않음.

잘못된 서명입니다. UITraitCollection 매개 변수와 함께 오버로드를 사용합니다.

GetAdaptivePresentationStyle(IUIAdaptivePresentationControllerDelegate, UIPresentationController, UITraitCollection)

지정된 controllertraitCollection에 사용할 프레젠테이션 스타일입니다.

GetViewControllerForAdaptivePresentation(IUIAdaptivePresentationControllerDelegate, UIPresentationController, UIModalPresentationStyle)

지정된 style에 사용할 뷰 컨트롤러입니다.

WillPresent(IUIAdaptivePresentationControllerDelegate, UIPresentationController, UIModalPresentationStyle, IUIViewControllerTransitionCoordinator)

프레젠테이션 전에 호출되었습니다.

적용 대상