A Boolean value indicating whether the device supports locking focus to a specific lens position.
SDKs
- iOS 10.0+
- Mac Catalyst 13.0+
Framework
- AVFoundation
Declaration
@property(nonatomic, readonly, getter=isLockingFocusWithCustomLensPositionSupported) BOOL lockingFocusWithCustomLensPositionSupported;
Discussion
If this property's value is NO
, calling the set
method with a lens position value other than AVCapture
raises an exception.