Enumeration Case

UIInterfaceOrientation.portrait

The device is in portrait mode, with the device held upright and the home button on the bottom.

Declaration

case portrait = 1

See Also

Orientations

case unknown

The orientation of the device cannot be determined.

case portraitUpsideDown

The device is in portrait mode but upside down, with the device held upright and the home button at the top.

case landscapeLeft

The device is in landscape mode, with the device held upright and the Home button on the right side.

case landscapeRight

The device is in landscape mode, with the device held upright and the Home button on the left side.