<!--
{
  "availability" : [
    "iOS: 2.0.0 - 8.0.0",
    "iPadOS: 2.0.0 - 8.0.0",
    "macCatalyst: 13.1.0 - 13.1.0"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIViewController/interfaceOrientation",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIViewController(py)interfaceOrientation"
  },
  "title" : "interfaceOrientation"
}
-->

# interfaceOrientation

Convenience property that provides the current orientation of the interface, meaningful only if the view controller is taking up the full screen.

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

## Discussion

Do not use this property for informing layout decisions.

The possible values for the [`interfaceOrientation`](/documentation/UIKit/UIViewController/interfaceOrientation) property are described in the [`UIInterfaceOrientation`](/documentation/UIKit/UIInterfaceOrientation) enum.

---

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)