Instance Property

cameraFlashMode

The flash mode used by the active camera.

Declaration

@property(nonatomic) UIImagePickerControllerCameraFlashMode cameraFlashMode;

Discussion

The various flash modes are listed in the UIImagePickerControllerCameraFlashMode enumeration. The default value is UIImagePickerControllerCameraFlashModeAuto.

The value of this property specifies the behavior of the still-image flash when the value of the cameraCaptureMode property is UIImagePickerControllerCameraCaptureModePhoto, and specifies the behavior of the video torch when cameraCaptureMode is UIImagePickerControllerCameraCaptureModeVideo.

See Also

Configuring the Flash Behavior

+ isFlashAvailableForCameraDevice:

Indicates whether a given camera has flash illumination capability.

UIImagePickerControllerCameraFlashMode

The flash mode to use with the active camera.