MBPCameraAutofocusRestriction
Objective-C
enum MBPCameraAutofocusRestriction : NSInteger {}
Swift
enum MBPCameraAutofocusRestriction : Int, @unchecked Sendable
Camera autofocus restricion mode
-
Default. Indicates that the autofocus system should not restrict the focus range.
Declaration
Objective-C
MBPCameraAutofocusRestrictionNoneSwift
case none = 0 -
Indicates that the autofocus system should restrict the focus range for subject matter that is near to the camera.
Declaration
Objective-C
MBPCameraAutofocusRestrictionNearSwift
case near = 1 -
Indicates that the autofocus system should restrict the focus range for subject matter that is far from the camera.
Declaration
Objective-C
MBPCameraAutofocusRestrictionFarSwift
case far = 2
View on GitHub