lensPosition
The current focus position of the lens.
Declaration
var lensPosition: Float { get }Discussion
A lens position value doesn’t correspond to an exact physical distance, nor does it represent a consistent focus distance from device to device.
The range of possible positions is 0.0 to 1.0, with 0.0 being the shortest distance at which the lens can focus and 1.0 the furthest. Note that 1.0 doesn’t represent focus at infinity. The default value is 1.0.
This property is key-value observable.