<!--
{
  "availability" : [
    "iOS: 26.1.0 -",
    "iPadOS: 26.1.0 -",
    "macCatalyst: 26.1.0 -",
    "visionOS: 26.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UITabGroup/isCollapsedByDefault",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UITabGroup(py)collapsedByDefault"
  },
  "title" : "isCollapsedByDefault"
}
-->

# isCollapsedByDefault

Whether the group is initially displayed in a collapsed state in the sidebar.

```
var isCollapsedByDefault: Bool { get set }
```

## Discussion

When true, the group renders collapsed the first time it appears in
the sidebar. The user can expand the group manually, and any
subsequent user interactions or customization changes take precedence
over this default.

This property has no effect in contexts where groups are not
collapsible, such as when `sidebarAppearance == .inline`.

Default is `NO`.

---

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)