The device is in portrait mode, with the device held upright and the home button on the bottom.
SDKs
- iOS 2.0+
- Mac Catalyst 13.0+
Framework
- UIKit
Declaration
UIInterfaceOrientationPortrait = UIDeviceOrientationPortrait
The device is in portrait mode, with the device held upright and the home button on the bottom.
SDKs
Framework
UIInterfaceOrientationPortrait = UIDeviceOrientationPortrait
UIInterface Orientation Unknown
The orientation of the device cannot be determined.
UIInterface Orientation Portrait Upside Down
The device is in portrait mode but upside down, with the device held upright and the home button at the top.
UIInterface Orientation Landscape Left
The device is in landscape mode, with the device held upright and the Home button on the left side.
UIInterface Orientation Landscape Right
The device is in landscape mode, with the device held upright and the Home button on the right side.