<!--
{
  "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/Sidebar-swift.class/Layout",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@E@UITabBarControllerSidebarLayout"
  },
  "title" : "UITabBarController.Sidebar.Layout"
}
-->

# UITabBarController.Sidebar.Layout

```
enum Layout
```

## Topics

### Enumeration Cases

[`case automatic`](/documentation/UIKit/UITabBarController/Sidebar-swift.class/Layout/automatic)

[`case overlap`](/documentation/UIKit/UITabBarController/Sidebar-swift.class/Layout/overlap)

When the sidebar is displayed, it will overlap the selected view controller,
allowing the selected view controller to render underneath the sidebar. Anchor
the view’s content to the `layoutMarginsGuide` or `safeAreaLayoutGuide` to avoid
being occluded by the sidebar.

[`case tile`](/documentation/UIKit/UITabBarController/Sidebar-swift.class/Layout/tile)

When the sidebar is displayed, the selected view controller is resized and shifted
to display alongside the sidebar. The selected view controller is not occluded by
the sidebar, cannot render underneath the sidebar.

### Initializers

[`init?(rawValue: Int)`](/documentation/UIKit/UITabBarController/Sidebar-swift.class/Layout/init(rawValue:))

## Relationships

### Conforms To

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

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

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

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

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

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

---

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)