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

# UITabBarController.Mode

A tab bar’s display mode.

```
enum Mode
```

## Topics

### Setting modes

[`UITabBarControllerModeAutomatic`](/documentation/UIKit/UITabBarController/Mode-swift.enum/automatic)

The system sets the display mode based on the tab’s content.

[`UITabBarControllerModeTabBar`](/documentation/UIKit/UITabBarController/Mode-swift.enum/tabBar)

The system displays the content only as a tab bar.

[`UITabBarControllerModeTabSidebar`](/documentation/UIKit/UITabBarController/Mode-swift.enum/tabSidebar)

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

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Sendable`](/documentation/Swift/Sendable)

[`Hashable`](/documentation/Swift/Hashable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

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)