Edytuj

Udostępnij za pośrednictwem


UINavigationControllerDelegate_Extensions Class

Definition

Extension methods to the IUINavigationControllerDelegate interface to support all the methods from the UINavigationControllerDelegate protocol.

public static class UINavigationControllerDelegate_Extensions
type UINavigationControllerDelegate_Extensions = class
Inheritance
UINavigationControllerDelegate_Extensions

Remarks

The extension methods for IUINavigationControllerDelegate allow developers to treat instances of the interface as having all the optional methods of the original UINavigationControllerDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Methods

DidShowViewController(IUINavigationControllerDelegate, UINavigationController, UIViewController, Boolean)

Extension method called shortly after the viewController has been made visible.

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

Called by the system to retrieve the transition animation for the operation.

GetInteractionControllerForAnimationController(IUINavigationControllerDelegate, UINavigationController, IUIViewControllerAnimatedTransitioning)

Called by the system to retrieve an interactive transition animation.

GetPreferredInterfaceOrientation(IUINavigationControllerDelegate, UINavigationController)

Can be overridden to set the preferred interface orientation of the .

SupportedInterfaceOrientations(IUINavigationControllerDelegate, UINavigationController)

Can be overridden to dynamically specify the supported orientations of the .

WillShowViewController(IUINavigationControllerDelegate, UINavigationController, UIViewController, Boolean)

Called by the system shortly before the is displayed.

Applies to