Instance Property

lockingFocusWithCustomLensPositionSupported

A Boolean value indicating whether the device supports locking focus to a specific lens position.

Declaration

@property(nonatomic, readonly, getter=isLockingFocusWithCustomLensPositionSupported) BOOL lockingFocusWithCustomLensPositionSupported;

Discussion

If this property's value is NO, calling the setFocusModeLockedWithLensPosition:completionHandler: method with a lens position value other than AVCaptureLensPositionCurrent raises an exception.

See Also

Managing the Lens Position

lensPosition

Indicates the focus position of the lens.

- setFocusModeLockedWithLensPosition:completionHandler:

Locks the lens position at the specified value.

AVCaptureLensPositionCurrent

A special constant representing the current lens position.