How to use Display-P3 Wide Color in SpriteKit and the Xcode Scene Editor?

The Attributes Inspector in the Xcode Scene Editor definitely does not support Wide Color, because even if I specify Display P3 in the system color picker, the colors in the scene remain clamped to sRGB.


Calling

UIColor(displayP3Red:,green:,blue:,alpha:)

does not make a difference either.


Games would be one of the most important applications of the vibrant colors in the wide gamut. How do I make sure my game uses them on newer devices?