<!--
{
  "availability" : [
    "iOS: 7.0.0 -",
    "iPadOS: 7.0.0 -",
    "macCatalyst: 13.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UITabBarControllerDelegate/tabBarControllerPreferredInterfaceOrientationForPresentation(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(pl)UITabBarControllerDelegate(im)tabBarControllerPreferredInterfaceOrientationForPresentation:"
  },
  "title" : "tabBarControllerPreferredInterfaceOrientationForPresentation(_:)"
}
-->

# tabBarControllerPreferredInterfaceOrientationForPresentation(_:)

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

```
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

[`preferredInterfaceOrientationForPresentation`](/documentation/UIKit/UIViewController/preferredInterfaceOrientationForPresentation)

The interface orientation to use when presenting the view controller.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)