<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UITabBarController/Sidebar-swift.class/Layout/overlap",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@E@UITabBarControllerSidebarLayout@UITabBarControllerSidebarLayoutOverlap"
  },
  "title" : "UITabBarController.Sidebar.Layout.overlap"
}
-->

# UITabBarController.Sidebar.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 overlap
```

---

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)