Contents

currentEDRHeadroom

The screen’s current headroom when displaying extended dynamic range content.

Declaration

var currentEDRHeadroom: CGFloat { get }

Discussion

Headroom is the ratio of the luminance of the screen’s brightest white to the luminance of standard dynamic range (SDR) white, in the screen’s native color space. The screen’s current headroom limits all rendered content, and can change depending on its configuration and whether it’s displaying extended dynamic range (EDR) content.

To display EDR content in a CAMetalLayer, set the layer’s wantsExtendedDynamicRangeContent property to true.

See Also

Getting the reference display mode status