OrientationType
Objective-C
enum OrientationType : NSInteger {}
Swift
enum OrientationType : Int, @unchecked Sendable
Constants indicating the device orientation type.
-
Unknown,.
Declaration
Objective-C
OrientationTypeUnknown = 0
Swift
case unknown = 0
-
Portrait.
Declaration
Objective-C
OrientationTypePortrait
Swift
case portrait = 1
-
PortraitUpsideDown
Declaration
Objective-C
OrientationTypePortraitUpsideDown
Swift
case portraitUpsideDown = 2
-
LandscapeLeft
Declaration
Objective-C
OrientationTypeLandscapeLeft
Swift
case landscapeLeft = 3
-
LandscapeRight
Declaration
Objective-C
OrientationTypeLandscapeRight
Swift
case landscapeRight = 4