Locks the lens position at the specified value.
- iOS 8.0+
- Mac Catalyst 13.0+Beta
The lens position. A value of
AVCapturecan be used to indicate that the caller does not wish to specify a value for lensPosition.
Lens Position Current
A block that is called when
lenshas been set to the value specified and
AVCapture. The block receives a timestamp matching that of the first buffer to which all settings have been applied.
Focus Mode Locked
The timestamp is synchronized to the device clock, and thus must be converted to the master clock before comparison with the timestamps of buffers delivered by AVCaptureVideoDataOutput instance.
The client may pass
nilfor the handler parameter if knowledge of the operation's completion is not required.
This method is the only way to set the
This method throws an
NSInvalid exception if
lens is set to an unsupported level. A
NSGeneric exception is thrown if the method is called without first obtaining exclusive access to the receiver using