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

# barStyle

The tab bar style that specifies its appearance.

```
var barStyle: UIBarStyle { get set }
```

## Discussion

This property determines whether the tab bar uses a dark or light visual style when no background image or tint color is specified. Together with the [`isTranslucent`](/documentation/UIKit/UITabBar/isTranslucent) property, this property defines the default visual style of the tab bar. Set this property to the value that best matches the style of your interface. For a list of possible values, see [`UIBarStyle`](/documentation/UIKit/UIBarStyle). The default value of this property is [`UIBarStyle.default`](/documentation/UIKit/UIBarStyle/default).

---

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)