Instance Method

isFlashModeSupported:

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

Declaration

- (BOOL)isFlashModeSupported:(AVCaptureFlashMode)flashMode;

Parameters

flashMode

A flash mode. See AVCaptureFlashMode for possible values.

Return Value

YES if flashMode is supported, otherwise NO.

See Also

Managing Flash Settings

hasFlash

Indicates whether the capture device has a flash.

flashAvailable

Indicates whether the flash is currently available for use.

AVCaptureFlashMode

Constants to specify the flash mode of a capture device.

flashMode

The device’s current flash mode.

flashActive

Indicates whether the flash is currently active.

Deprecated