cameraFlashMode
The flash mode used by the active camera.
Declaration
var cameraFlashMode: UIImagePickerController.CameraFlashMode { get set }Discussion
The various flash modes are listed in the UIImagePickerController.CameraFlashMode enumeration. The default value is UIImagePickerController.CameraFlashMode.auto.
The value of this property specifies the behavior of the still-image flash when the value of the cameraCaptureMode property is UIImagePickerController.CameraCaptureMode.photo, and specifies the behavior of the video torch when cameraCaptureMode is UIImagePickerController.CameraCaptureMode.video.