Instance Property

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

var isStillImageStabilizationSupported: Bool

A Boolean value indicating whether the capture output currently supports automatic stabilization for still image capture.

Deprecated
var isDualCameraFusionSupported: Bool

A Boolean value indicating whether the capture output currently supports automatically combining image data on a dual camera device.

Deprecated
var maxBracketedCapturePhotoCount: Int

The maximum number of images that the photo capture output can support in a single bracketed capture.

var isLensStabilizationDuringBracketedCaptureSupported: Bool

A Boolean value indicating whether the capture output currently supports lens stabilization during bracketed image capture.

var availablePhotoPixelFormatTypes: [OSType]

A Swift array of available photo pixel formats.

var availableRawPhotoPixelFormatTypes: [OSType]

A Swift array of available raw photo pixel formats.

var isAutoRedEyeReductionSupported: Bool

A Boolean value indicating whether the capture output supports automatic red-eye reduction.