Type Property


A special constant representing the current lens position.


class let currentLensPosition: Float


Pass this value to setFocusModeLocked(lensPosition:completionHandler:) to lock focus (that is, disable autofocus) without changing the lens' current position.

See Also

Managing the Lens Position

var lensPosition: Float

Indicates the focus position of the lens.

var isLockingFocusWithCustomLensPositionSupported: Bool

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