<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "visionOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UITabBarController/Mode-swift.enum/tabSidebar",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@E@UITabBarControllerMode@UITabBarControllerModeTabSidebar"
  },
  "title" : "UITabBarController.Mode.tabSidebar"
}
-->

# UITabBarController.Mode.tabSidebar

The system displays the content as either a tab bar or a sidebar, depending on the context.

```
case tabSidebar
```

## Discussion

Different platforms handle the mode differently:

- On iPad, the system displays the content as either a tab bar or a sidebar, depending on the context.
- On Mac Catalyst, the system displays a sidebar.
- On iPhone and Apple TV, the system displays the platform’s regular tab bar.
- In visionOS, the system displays the platform’s regular tabs, but a [`UITabGroup`](/documentation/UIKit/UITabGroup) can display a sidebar when it displays the group’s view controller.

For more information, see [Elevating your iPad app with a tab bar and sidebar](/documentation/UIKit/elevating-your-ipad-app-with-a-tab-bar-and-sidebar).

---

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)