---
title: currentEDRHeadroom
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiscreen/currentedrheadroom
---

# currentEDRHeadroom

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

## Declaration

```swift
var currentEDRHeadroom: CGFloat { get }
```

## Discussion

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

- [referenceDisplayModeStatus](uikit/uiscreen/referencedisplaymodestatus-swift.property.md)
- [UIScreen.ReferenceDisplayModeStatus](uikit/uiscreen/referencedisplaymodestatus-swift.enum.md)
- [potentialEDRHeadroom](uikit/uiscreen/potentialedrheadroom.md)
