Contents

navigationControllerPreferredInterfaceOrientationForPresentation(_:)

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

Declaration

optional func navigationControllerPreferredInterfaceOrientationForPresentation(_ navigationController: UINavigationController) -> UIInterfaceOrientation

Parameters

  • navigationController:

    The navigation controller

Return Value

The preferred orientation for presenting the navigation controller.

See Also

Supporting custom transition animations