共用方式為


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)

在簡報之前呼叫。

適用於