Contents

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