navigationControllerPreferredInterfaceOrientationForPresentation(_:)
Returns the preferred orientation for presentation of the navigation controller, as determined by the delegate.
Declaration
optional func navigationControllerPreferredInterfaceOrientationForPresentation(_ navigationController: UINavigationController) -> UIInterfaceOrientationParameters
- navigationController:
The navigation controller
Return Value
The preferred orientation for presenting the navigation controller.