Enumeration

AVCaptureFlashMode

Constants to specify the flash mode of a capture device.

Declaration

typedef enum AVCaptureFlashMode : NSInteger {
    ...
} AVCaptureFlashMode;

Topics

Constants

AVCaptureFlashModeOff

The capture device flash is always off.

AVCaptureFlashModeOn

The capture device flash is always on.

AVCaptureFlashModeAuto

The capture device continuously monitors light levels and uses the flash when necessary.

See Also

Managing Flash Settings

hasFlash

Indicates whether the capture device has a flash.

flashAvailable

Indicates whether the flash is currently available for use.

flashMode

The device’s current flash mode.

- isFlashModeSupported:

Returns a Boolean value that indicates whether the device supports the given flash mode.

flashActive

Indicates whether the flash is currently active.

Deprecated