Contents

isPortraitEffectSupported

A Boolean value that indicates whether the format supports the Portrait Effect feature.

Declaration

var isPortraitEffectSupported: Bool { get }

Discussion

Enabling a Portrait Effect applies a shallow depth-of-field effect to objects in the background. See the isPortraitEffectEnabled property of AVCaptureDevice for more information.

See Also

Determining Portrait Effects support