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)

在演示之前调用。

适用于