<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIBarStyle",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@E@UIBarStyle"
  },
  "title" : "UIBarStyle"
}
-->

# UIBarStyle

Defines the stylistic appearance of different types of views.

```
enum UIBarStyle
```

## Topics

### Bar styles

[`UIBarStyleDefault`](/documentation/UIKit/UIBarStyle/default)

The default style normally associated with the given view.

[`UIBarStyleBlack`](/documentation/UIKit/UIBarStyle/black)

A black background with light content.

[`UIBarStyleBlackOpaque`](/documentation/UIKit/UIBarStyle/blackOpaque)

A deprecated opaque style.

[`UIBarStyleBlackTranslucent`](/documentation/UIKit/UIBarStyle/blackTranslucent)

A deprecated translucent style.

## Relationships

### Conforms To

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Equatable`](/documentation/Swift/Equatable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Hashable`](/documentation/Swift/Hashable)

[`Sendable`](/documentation/Swift/Sendable)

---

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)