<!--
{
  "availability" : [
    "iOS: 27.1.0 -",
    "iPadOS: 27.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIVerticalBarCompressionBehavior/prefersTabBar",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@E@UIVerticalBarCompressionBehavior@UIVerticalBarCompressionBehaviorPrefersTabBar"
  },
  "title" : "UIVerticalBarCompressionBehavior.prefersTabBar"
}
-->

# UIVerticalBarCompressionBehavior.prefersTabBar

A compression behavior that prefers keeping the tab bar visible.

```
case prefersTabBar
```

## Discussion

Bar items will compress before the tab bar when space is
constrained.

---

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)