Contents

tabBarControllerPreferredInterfaceOrientationForPresentation(_:)

Called to allow the delegate to provide the preferred orientation for presentation of the tab bar controller.

Declaration

optional func tabBarControllerPreferredInterfaceOrientationForPresentation(_ tabBarController: UITabBarController) -> UIInterfaceOrientation

Parameters

  • tabBarController:

    The tab bar controller that is asking the delegate object for the preferred presentation orientation.

Return Value

The preferred orientation for presenting the tab bar controller.

See Also

Related Documentation

Overriding view rotation settings