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

# UIWindowScene.Geometry

An object that provides geometry information about the window scene.

```
class Geometry
```

## Topics

### Accessing scene geometry

[`var systemFrame: CGRect`](/documentation/UIKit/UIWindowScene/Geometry/systemFrame)

The current frame of the scene, in system coordinates.

[`var coordinateSpace: any UICoordinateSpace`](/documentation/UIKit/UIWindowScene/Geometry/coordinateSpace)

The coordinate space of the scene

[`var interfaceOrientation: UIInterfaceOrientation`](/documentation/UIKit/UIWindowScene/Geometry/interfaceOrientation)

The current interface orientation for the scene.

[`var isInterfaceOrientationLocked: Bool`](/documentation/UIKit/UIWindowScene/Geometry/isInterfaceOrientationLocked)

If the scene’s interface orientation is locked and preventing changes. To express a preference for this value, override  `UIViewController`’s `prefersInterfaceOrientationLocked`.

### Instance Properties

[`var isInteractivelyResizing: Bool`](/documentation/UIKit/UIWindowScene/Geometry/isInteractivelyResizing)

Returns true when the scene is being resized interactively, otherwise false.

[`var maximumSize: CGSize`](/documentation/UIKit/UIWindowScene/Geometry/maximumSize)

The current app specified maximumSize. A value of CGFLOAT_MAX,CGFLOAT_MAX is returned if a maximum is not set by the application

[`var minimumSize: CGSize`](/documentation/UIKit/UIWindowScene/Geometry/minimumSize)

The current app specified minimumSize. A value of 0,0 is returned if a minimum is not set by the application

[`var resizingRestrictions: UIWindowSceneResizingRestrictions`](/documentation/UIKit/UIWindowScene/Geometry/resizingRestrictions)

The current app specified resizingRestriction. Default value UIWindowSceneResizingRestrictionsUnspecified

## Relationships

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

### Conforms To

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

[`NSCopying`](/documentation/Foundation/NSCopying)

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

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

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

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

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

---

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)