Determining support for EDR values
Check whether a display supports EDR.
Overview
Discover whether a display supports EDR values by reading the maximumPotentialExtendedDynamicRangeColorComponentValue property on an NSScreen instance for that display. A value greater than 1.0 indicates that the display supports EDR values; otherwise, the display supports only SDR values.
This property’s value is independent of the current state of the display. It’s possible for a display to support EDR but to be unable to present those values right now. For information about the current state of the display, check the maximumExtendedDynamicRangeColorComponentValue property.