Instance Property

isAutoRedEyeReductionSupported

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

Declaration

var isAutoRedEyeReductionSupported: Bool { get }

Discussion

In iOS 12 and later, AVFoundation applies a red-eye reduction effect only when needed. It won't apply red-eye reduction in the following situations:

  • When you force a flash capture in good light

  • When only one eye is visible

  • When doing a bracketed capture

  • When taking a picture with depth on the dual camera

When taking RAW + processed (JPEG or HEIC) still-photo capture with auto red-eye reduction enabled, AVFoundation applies correction to only the processed photo, not the RAW photo.

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 supportedFlashModes: [AVCaptureDevice.FlashMode]

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

var availablePhotoPixelFormatTypes: [OSType]

A Swift array of available photo pixel formats.

var availableRawPhotoPixelFormatTypes: [OSType]

A Swift array of available raw photo pixel formats.