<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIWindowSceneDelegate/supportedInterfaceOrientations(for:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(pl)UIWindowSceneDelegate(im)supportedInterfaceOrientationsForWindowScene:"
  },
  "title" : "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.

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

---

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)