UIDeviceOrientation
Constants that describe the physical orientation of the device.
Declaration
enum UIDeviceOrientationOverview
The orientation property uses these constants to identify the device orientation. These constants identify the physical orientation of the device and aren’t tied to the orientation of your app’s user interface.
Topics
Device orientations
UIDeviceOrientation.unknownUIDeviceOrientation.portraitUIDeviceOrientation.portraitUpsideDownUIDeviceOrientation.landscapeLeftUIDeviceOrientation.landscapeRightUIDeviceOrientation.faceUpUIDeviceOrientation.faceDown