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
MBPCameraAutofocusRestrictionNone
Swift
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
MBPCameraAutofocusRestrictionNear
Swift
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
MBPCameraAutofocusRestrictionFar
Swift
case far = 2