Get View Full HDR state from Settings > Photos to properly set preferredImageDynamicRange in editing extension

I'm updating my Photo Editing Extension to support HDR. To do this I set imageView.preferredImageDynamicRange = .high. But you can turn off the option to view HDR photos in the complete dynamic range in Settings > Photos. When you do that, open a photo, and tap the edit button, it does not appear in the full range as expected, but when you select my app from More > Extensions, it does appear in the complete dynamic range unexpectedly. I need to set imageView.preferredImageDynamicRange = .standard when View Full HDR is off, but I don't see any way to get that in my PHContentEditingController.

Answered by DTS Engineer in 808016022

Hello @Jordan,

Please file an enhancement request for this using Feedback Assistant.

Best regards,

Greg

Hello @Jordan,

Please file an enhancement request for this using Feedback Assistant.

Best regards,

Greg

Get View Full HDR state from Settings > Photos to properly set preferredImageDynamicRange in editing extension
 
 
Q