Indicates the focus position of the lens.
- iOS 8.0+
- Mac Catalyst 13.0+Beta
A given lens position value does not 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 being the shortest distance at which the lens can focus and
1 the furthest. Note that
1 does not represent focus at infinity. The default value is
The value can be read at any time, regardless of focus mode, but can only be set via
You can observe changes to the value of this property using Key-value observing.