<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "visionOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/TabViewCustomization/init()",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI20TabViewCustomizationVACycfc"
  },
  "title" : "init()"
}
-->

# init()

Creates an empty tab sidebar customization.

```
init()
```

## Discussion

To set this customization on a tab view, use
the [`tabViewCustomization(_:)`](/documentation/SwiftUI/View/tabViewCustomization(_:)) modifier.

With an empty customization, tabs will be visible according to the default
builder visibilities, and sections will be ordered in the order declared in
the tab view’s tab builder.

You can specify a default visibility for the tab in the tab bar
and sidebar by attaching
[`defaultVisibility(_:for:)`](/documentation/SwiftUI/TabContent/defaultVisibility(_:for:))
to the tab.

You can change the default section order by changing the order
in the builder. If there’s an existing persisted customization,
reset the order by calling
[`resetTabOrder()`](/documentation/SwiftUI/TabViewCustomization/SectionCustomization/resetTabOrder())
when you change the order.

---

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)