Contents

supportedFlashModes

A Swift array of flash settings this capture output currently supports.

Declaration

@nonobjc var supportedFlashModes: [AVCaptureDevice.FlashMode] { get }

Discussion

To set the flash mode for a capture, set the flashMode property of your photo settings object to one of the AVCaptureDevice.FlashMode values listed in this array.

This property supports Key-Value Observing.

See Also

Determining available settings