---
title: "supportedInterfaceOrientations(for:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uiwindowscenedelegate/supportedinterfaceorientations(for:)"
---

# supportedInterfaceOrientations(for:)

Returns the interface orientations supported by the window scene. The returned value replaces the app’s UISupportedInterfaceOrientations Info.plist value for this scene. If not implemented, the Info.plist value is used.

## Declaration

```swift
optional func supportedInterfaceOrientations(for windowScene: UIWindowScene) -> UIInterfaceOrientationMask
```
