CBLCameraLiveViewFrameOrientation
Objective-C
enum CBLCameraLiveViewFrameOrientation : NSUInteger {}
Swift
enum LiveViewFrameOrientation : UInt, @unchecked Sendable
Defines the orientation of the image of the live view frame. If rotating the image, the focal points etc should be rotated too.
-
The image is “normal” landscape - no translation is required.
Declaration
Objective-C
CBLCameraLiveViewFrameOrientationLandscape = 0
Swift
case landscape = 0
-
The camera is rotated 90° to the right.
Declaration
Objective-C
CBLCameraLiveViewFrameOrientationPortraitRight = 1
Swift
case portraitRight = 1
-
The camera is rotated 90° to the left.
Declaration
Objective-C
CBLCameraLiveViewFrameOrientationPortraitLeft = 2
Swift
case portraitLeft = 2
-
The camera is rotated 180°.
Declaration
Objective-C
CBLCameraLiveViewFrameOrientationLandscapeUpsideDown = 4
Swift
case landscapeUpsideDown = 4