iPhone cameras can capture HDR photos, and when shown in the Photos app in OLDE iPhones, the HDR photo will be shown with different brightness for light and dark parts. The effect is shown in this tweet https://twitter.com/5tu/status/1327838250170368000 (although it is a video, the same applies to photos), the bright part of an HDR photo will show white brighter than the app's background white.
I cannot achieve this effect with UIImageView
. How to achieve this effect for an HDR photo programmatically?
What? Only AVIF and JPEG XL support HDR tranfer functions.