The capture device’s focus mode.
- iOS 4.0+
- macOS 10.7+
- Mac Catalyst 13.0+
Before changing the value of this property, you must call
lock to acquire exclusive access to the device’s configuration properties. Otherwise, setting the value of this property raises an exception. When you finish configuring the device, call
unlock to release the lock and allow other devices to configure the settings.
You can observe changes to the value of this property using Key-value observing.
AVCapture for possible values.