CBLCameraLiveViewAFArea
Objective-C
@protocol CBLCameraLiveViewAFArea <NSObject>
Swift
protocol LiveViewAFArea : NSObjectProtocol
Represents an autofocus area in a camera’s focus aspect. Typically rendered as a rectangle on top of the live view image.
-
Returns
YESif the AF area is focused, otherwiseNO.Declaration
Objective-C
@property (nonatomic, readonly) BOOL focused;Swift
var focused: Bool { get } -
Returns
YESif the AF area is active, otherwiseNO.Declaration
Objective-C
@property (nonatomic, readonly) BOOL active;Swift
var active: Bool { get } -
Returns the area of the receiver, relative to the parent live view frame’s aspect.
Declaration
Objective-C
@property (nonatomic, readonly) CGRect rect;Swift
var rect: CGRect { get }