---
title: interfaceOrientation
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiwindowscene/interfaceorientation
---

# interfaceOrientation

The orientation to use when displaying content in your windows.

## Declaration

```swift
var interfaceOrientation: UIInterfaceOrientation { get }
```

## Discussion

Discussion The interface orientation normally corresponds to the device orientation, but it might also be different. For example, the interface orientation does not always match the device orientation when the user enables rotation lock for the device.

## See Also

### Deprecated symbols

- [coordinateSpace](uikit/uiwindowscene/coordinatespace.md)
