Instance Method

navigationControllerSupportedInterfaceOrientations(_:)

Returns the complete set of supported interface orientations for the navigation controller, as determined by the delegate.

Declaration

optional func navigationControllerSupportedInterfaceOrientations(_ navigationController: UINavigationController) -> UIInterfaceOrientationMask

Parameters

navigationController

The navigation controller

Return Value

One of the UIInterfaceOrientationMask constants that represents the set of interface orientations supported by the navigation controller.

See Also

Supporting Custom Transition Animations

func navigationController(UINavigationController, interactionControllerFor: UIViewControllerAnimatedTransitioning) -> UIViewControllerInteractiveTransitioning?

Called to allow the delegate to return an interactive animator object for use during view controller transitions.

func navigationControllerPreferredInterfaceOrientationForPresentation(UINavigationController) -> UIInterfaceOrientation

Returns the preferred orientation for presentation of the navigation controller, as determined by the delegate.