---
title: UIPreferredDefaultInterfaceOrientation
framework: bundleresources
role: symbol
role_heading: Property List Key
path: bundleresources/information-property-list/uipreferreddefaultinterfaceorientation
---

# UIPreferredDefaultInterfaceOrientation

A string that indicates the preferred initial interface orientation for iPad and iPhone apps running on visionOS.

## Possible Values

UIInterfaceOrientationPortrait: UIInterfaceOrientationPortraitUpsideDown: UIInterfaceOrientationLandscapeLeft: UIInterfaceOrientationLandscapeRight:

## Discussion

Discussion When compatible iPad and iPhone apps run on visionOS, the system references this key to determine the preferred initial interface orientation for the content that appears in a window in the person’s surroundings. This key is optional, and applications that don’t provide a value receive a default interface orientation that the system provides. The system evaluates the key, but might use a different value. For example, if a pre-existing state exists, that state defines the interface orientation. If a preferred interface orientation doesn’t exist in the app’s UISupportedInterfaceOrientations, the app receives a default interface orientation provided by the system – landscape right for iPad apps, portrait for iPhone apps. note: This key doesn’t apply to app’s built against the visionOS SDK.

## See Also

### Orientation

- [UIInterfaceOrientation](bundleresources/information-property-list/uiinterfaceorientation.md)
- [UISupportedInterfaceOrientations](bundleresources/information-property-list/uisupportedinterfaceorientations.md)
