Share via


IUINavigationControllerDelegate Interface

Definition

This interface represents the Objective-C protocol UINavigationControllerDelegate.

[Foundation.Protocol(Name="UINavigationControllerDelegate", WrapperType=typeof(UIKit.UINavigationControllerDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillShowViewController", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UINavigationController), typeof(UIKit.UIViewController), typeof(System.Boolean) }, Selector="navigationController:willShowViewController:animated:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidShowViewController", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UINavigationController), typeof(UIKit.UIViewController), typeof(System.Boolean) }, Selector="navigationController:didShowViewController:animated:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="SupportedInterfaceOrientations", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UINavigationController) }, ReturnType=typeof(UIKit.UIInterfaceOrientationMask), Selector="navigationControllerSupportedInterfaceOrientations:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetPreferredInterfaceOrientation", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UINavigationController) }, ReturnType=typeof(UIKit.UIInterfaceOrientation), Selector="navigationControllerPreferredInterfaceOrientationForPresentation:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetInteractionControllerForAnimationController", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UINavigationController), typeof(UIKit.IUIViewControllerAnimatedTransitioning) }, ReturnType=typeof(UIKit.IUIViewControllerInteractiveTransitioning), Selector="navigationController:interactionControllerForAnimationController:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetAnimationControllerForOperation", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UINavigationController), typeof(UIKit.UINavigationControllerOperation), typeof(UIKit.UIViewController), typeof(UIKit.UIViewController) }, ReturnType=typeof(UIKit.IUIViewControllerAnimatedTransitioning), Selector="navigationController:animationControllerForOperation:fromViewController:toViewController:")]
public interface IUINavigationControllerDelegate : IDisposable, ObjCRuntime.INativeObject
[Foundation.Protocol(Name="UINavigationControllerDelegate", WrapperType=typeof(UIKit.UINavigationControllerDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillShowViewController", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UINavigationController), typeof(UIKit.UIViewController), typeof(System.Boolean) }, Selector="navigationController:willShowViewController:animated:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidShowViewController", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UINavigationController), typeof(UIKit.UIViewController), typeof(System.Boolean) }, Selector="navigationController:didShowViewController:animated:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetInteractionControllerForAnimationController", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UINavigationController), typeof(UIKit.IUIViewControllerAnimatedTransitioning) }, ReturnType=typeof(UIKit.IUIViewControllerInteractiveTransitioning), Selector="navigationController:interactionControllerForAnimationController:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetAnimationControllerForOperation", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UINavigationController), typeof(UIKit.UINavigationControllerOperation), typeof(UIKit.UIViewController), typeof(UIKit.UIViewController) }, ReturnType=typeof(UIKit.IUIViewControllerAnimatedTransitioning), Selector="navigationController:animationControllerForOperation:fromViewController:toViewController:")]
public interface IUINavigationControllerDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="UINavigationControllerDelegate", WrapperType=typeof(UIKit.UINavigationControllerDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillShowViewController", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UINavigationController), typeof(UIKit.UIViewController), typeof(System.Boolean) }, Selector="navigationController:willShowViewController:animated:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidShowViewController", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UINavigationController), typeof(UIKit.UIViewController), typeof(System.Boolean) }, Selector="navigationController:didShowViewController:animated:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="SupportedInterfaceOrientations", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UINavigationController) }, ReturnType=typeof(UIKit.UIInterfaceOrientationMask), Selector="navigationControllerSupportedInterfaceOrientations:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetPreferredInterfaceOrientation", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UINavigationController) }, ReturnType=typeof(UIKit.UIInterfaceOrientation), Selector="navigationControllerPreferredInterfaceOrientationForPresentation:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetInteractionControllerForAnimationController", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UINavigationController), typeof(UIKit.IUIViewControllerAnimatedTransitioning) }, ReturnType=typeof(UIKit.IUIViewControllerInteractiveTransitioning), Selector="navigationController:interactionControllerForAnimationController:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetAnimationControllerForOperation", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UINavigationController), typeof(UIKit.UINavigationControllerOperation), typeof(UIKit.UIViewController), typeof(UIKit.UIViewController) }, ReturnType=typeof(UIKit.IUIViewControllerAnimatedTransitioning), Selector="navigationController:animationControllerForOperation:fromViewController:toViewController:")>]
type IUINavigationControllerDelegate = interface
    interface INativeObject
    interface IDisposable
[<Foundation.Protocol(Name="UINavigationControllerDelegate", WrapperType=typeof(UIKit.UINavigationControllerDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillShowViewController", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UINavigationController), typeof(UIKit.UIViewController), typeof(System.Boolean) }, Selector="navigationController:willShowViewController:animated:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidShowViewController", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UINavigationController), typeof(UIKit.UIViewController), typeof(System.Boolean) }, Selector="navigationController:didShowViewController:animated:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetInteractionControllerForAnimationController", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UINavigationController), typeof(UIKit.IUIViewControllerAnimatedTransitioning) }, ReturnType=typeof(UIKit.IUIViewControllerInteractiveTransitioning), Selector="navigationController:interactionControllerForAnimationController:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetAnimationControllerForOperation", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UINavigationController), typeof(UIKit.UINavigationControllerOperation), typeof(UIKit.UIViewController), typeof(UIKit.UIViewController) }, ReturnType=typeof(UIKit.IUIViewControllerAnimatedTransitioning), Selector="navigationController:animationControllerForOperation:fromViewController:toViewController:")>]
type IUINavigationControllerDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

A class that implements this interface (and subclasses NSObject) will be exported to Objective-C as implementing the Objective-C protocol this interface represents.

A class may also implement members from this interface to implement members from the protocol.

Properties

Name Description
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

Name Description
DidShowViewController(UINavigationController, UIViewController, Boolean)

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

GetAnimationControllerForOperation(UINavigationController, UINavigationControllerOperation, UIViewController, UIViewController)

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

GetInteractionControllerForAnimationController(UINavigationController, IUIViewControllerAnimatedTransitioning)

Called by the system to retrieve an interactive transition animation.

GetPreferredInterfaceOrientation(UINavigationController)

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

SupportedInterfaceOrientations(UINavigationController)

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

WillShowViewController(UINavigationController, UIViewController, Boolean)

Called by the system shortly before the is displayed.

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)
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