Instance Property

isLockingFocusWithCustomLensPositionSupported

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

Declaration

var isLockingFocusWithCustomLensPositionSupported: Bool { get }

Discussion

If this property's value is false, calling the setFocusModeLocked(lensPosition:completionHandler:) method with a lens position value other than currentLensPosition raises an exception.

See Also

Managing the Lens Position

var lensPosition: Float

Indicates the focus position of the lens.

class let currentLensPosition: Float

A special constant representing the current lens position.