<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIWindowScene/GeometryPreferences/iOS",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIWindowSceneGeometryPreferencesIOS"
  },
  "title" : "UIWindowScene.GeometryPreferences.iOS"
}
-->

# UIWindowScene.GeometryPreferences.iOS

An object that represents the geometry preferences for a window scene in an iOS app.

```
class iOS
```

## Overview

Use this class to express iOS-specific geometry preferences when you call [`requestGeometryUpdate(_:errorHandler:)`](/documentation/UIKit/UIWindowScene/requestGeometryUpdate(_:errorHandler:)).

## Topics

### Creating a geometry preferences object

[`convenience init(interfaceOrientations: UIInterfaceOrientationMask)`](/documentation/UIKit/UIWindowScene/GeometryPreferences/iOS/init(interfaceOrientations:))

Initializes a new window scene geometry preferences object with the specified interface orientations.

[`init()`](/documentation/UIKit/UIWindowScene/GeometryPreferences/iOS/init())

Initializes a new window scene geometry preferences object.

### Requesting preferred interface orientations

[`var interfaceOrientations: UIInterfaceOrientationMask?`](/documentation/UIKit/UIWindowScene/GeometryPreferences/iOS/interfaceOrientations)

The preferred interface orientations for the scene.

[`@property (nonatomic, assign) UIInterfaceOrientationMask interfaceOrientations;`](/documentation/UIKit/UIWindowSceneGeometryPreferencesIOS/interfaceOrientations)

The preferred interface orientations for the scene.

## See Also

[`var effectiveGeometry: UIWindowScene.Geometry`](/documentation/UIKit/UIWindowScene/effectiveGeometry)

The current values for the window scene’s geometry in system space.

[`func requestGeometryUpdate(UIWindowScene.GeometryPreferences, errorHandler: ((any Error) -> Void)?)`](/documentation/UIKit/UIWindowScene/requestGeometryUpdate(_:errorHandler:))

Requests an update to the window scene’s geometry using the specified geometry preferences object.

[`@property (nonatomic, assign) UIInterfaceOrientationMask interfaceOrientations;`](/documentation/UIKit/UIWindowSceneGeometryPreferencesIOS/interfaceOrientations)

The preferred interface orientations for the scene.

## Relationships

### Conforms To

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

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

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

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

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

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

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

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

### Inherits From

[`GeometryPreferences`](/documentation/UIKit/UIWindowScene/GeometryPreferences)

---

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)