<!--
{
  "availability" : [
    "macOS: 10.12.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSImageRep/HintKey/userInterfaceLayoutDirection",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@NSImageHintUserInterfaceLayoutDirection"
  },
  "title" : "userInterfaceLayoutDirection"
}
-->

# userInterfaceLayoutDirection

A layout direction hint.

```
static let userInterfaceLayoutDirection: NSImageRep.HintKey
```

## Discussion

The value for this key is an <doc://com.apple.documentation/documentation/Foundation/NSNumber> with an [`NSUserInterfaceLayoutDirection`](/documentation/AppKit/NSUserInterfaceLayoutDirection) value.

---

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)