The current flash mode.
- iOS 4.0–10.0Deprecated
- macOS 10.7+
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 are done 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.