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

# UISemanticContentAttribute

A semantic description of the view’s contents, used to determine whether the view should be flipped when switching between left-to-right and right-to-left layouts.

```
enum UISemanticContentAttribute
```

## Topics

### Constants

[`UISemanticContentAttributeUnspecified`](/documentation/UIKit/UISemanticContentAttribute/unspecified)

The default value for views.

[`UISemanticContentAttributePlayback`](/documentation/UIKit/UISemanticContentAttribute/playback)

A view representing the playback controls, such as Play, Rewind, or Fast Forward buttons or playhead scrubbers.

[`UISemanticContentAttributeSpatial`](/documentation/UIKit/UISemanticContentAttribute/spatial)

A view representing a directional control, such as a segment control for text alignment, or a D-pad control for a game.

[`UISemanticContentAttributeForceLeftToRight`](/documentation/UIKit/UISemanticContentAttribute/forceLeftToRight)

A view that’s always displayed using a left-to-right layout.

[`UISemanticContentAttributeForceRightToLeft`](/documentation/UIKit/UISemanticContentAttribute/forceRightToLeft)

A view that’s always displayed using a right-to-left layout.

## Relationships

### Conforms To

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

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

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

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

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

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

---

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)