UINavigationControllerDelegate_Extensions 类

定义

接口的 IUINavigationControllerDelegate 扩展方法,以支持协议中的所有方法 UINavigationControllerDelegate

public static class UINavigationControllerDelegate_Extensions
type UINavigationControllerDelegate_Extensions = class
继承
UINavigationControllerDelegate_Extensions

注解

IUINavigationControllerDelegate 扩展方法允许开发人员将 接口的实例视为具有原始 UINavigationControllerDelegate 协议的所有可选方法。 由于 接口仅包含所需的成员,因此这些扩展方法允许开发人员调用协议的可选成员。

方法

DidShowViewController(IUINavigationControllerDelegate, UINavigationController, UIViewController, Boolean)

在 变得可见后 viewController 不久调用的扩展方法。

GetAnimationControllerForOperation(IUINavigationControllerDelegate, UINavigationController, UINavigationControllerOperation, UIViewController, UIViewController)

由系统调用以检索 的 operation过渡动画。

GetInteractionControllerForAnimationController(IUINavigationControllerDelegate, UINavigationController, IUIViewControllerAnimatedTransitioning)

由系统调用以检索交互式过渡动画。

GetPreferredInterfaceOrientation(IUINavigationControllerDelegate, UINavigationController)

可以重写以设置 的首选接口方向。

SupportedInterfaceOrientations(IUINavigationControllerDelegate, UINavigationController)

可以重写以动态指定 支持的方向。

WillShowViewController(IUINavigationControllerDelegate, UINavigationController, UIViewController, Boolean)

在显示 之前不久由系统调用。

适用于