<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIWindowScene/GeometryPreferences/iOS/interfaceOrientations",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "s:So35UIWindowSceneGeometryPreferencesIOSC5UIKitE21interfaceOrientationsSo26UIInterfaceOrientationMaskVSgvp"
  },
  "title" : "interfaceOrientations"
}
-->

# interfaceOrientations

The preferred interface orientations for the scene.

```
var interfaceOrientations: UIInterfaceOrientationMask? { get set }
```

## Discussion

If you specify this value, the system automatically chooses an orientation from the intersection of these preferred orientations and the supported orientations.

---

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)