UIAdaptivePresentationControllerDelegate_Extensions 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
介面的 IUIAdaptivePresentationControllerDelegate 擴充方法,以支援來自 UIAdaptivePresentationControllerDelegate 通訊協定的所有方法。
public static class UIAdaptivePresentationControllerDelegate_Extensions
type UIAdaptivePresentationControllerDelegate_Extensions = class
- 繼承
-
UIAdaptivePresentationControllerDelegate_Extensions
備註
的 IUIAdaptivePresentationControllerDelegate 擴充方法可讓開發人員將介面的實例視為具有原始 UIAdaptivePresentationControllerDelegate 通訊協定的所有選擇性方法。 由於介面只包含必要的成員,這些擴充方法可讓開發人員呼叫通訊協定的選擇性成員。
方法
GetAdaptivePresentationStyle(IUIAdaptivePresentationControllerDelegate, UIPresentationController) |
傳回變更 |
GetAdaptivePresentationStyle(IUIAdaptivePresentationControllerDelegate, UIPresentationController, UIModalPresentationStyle) |
已淘汰.
簽章不正確。 搭配 UITraitCollection 參數使用多載。 |
GetAdaptivePresentationStyle(IUIAdaptivePresentationControllerDelegate, UIPresentationController, UITraitCollection) |
要用於指定 |
GetViewControllerForAdaptivePresentation(IUIAdaptivePresentationControllerDelegate, UIPresentationController, UIModalPresentationStyle) |
要用於指定 |
WillPresent(IUIAdaptivePresentationControllerDelegate, UIPresentationController, UIModalPresentationStyle, IUIViewControllerTransitionCoordinator) |
在簡報之前呼叫。 |