The flash mode to use with the active camera.
- iOS 4.0+
- Mac Catalyst 13.0+
The constants in this enumeration are for use as values of the
The behavior of the flash depends on the camera capture mode.
For a given camera on a device, flash may or may not be available. You specify the active camera by way of the
camera property. You can determine if the active camera has flash available by calling the
is class method.
You can manipulate the flash directly to provide effects such as a strobe light. Present a picker interface set to use video capture mode. Then, turn the flash LED on or off by setting the
camera property to