A Boolean value that indicates whether the device should use global tone mapping.
- iOS 13.0+
- Mac Catalyst 13.0+
Tone mapping is a technique used to map the pixel levels in high dynamic range images to a reduced dynamic range (such as mapping from 16-bit to 8-bit), while still retaining an appearance as close to the original image as possible. Normally the active camera uses adaptive, local tone curves to preserve the highest image quality and adapt quickly to changing lighting conditions.
When this property value is true, the tone map adjusts dynamically depending on the current scene and applies to all pixels in an image. You can only enable this setting if the device’s active format’s
global property returns
YES. If set to its default value of
NO, the framework may apply different tone maps to different pixels in an image.
This property resets to its default value of
NO under the following conditions:
You change the device’s active format.
You add the device’s input to a session.
You change the capture session’s preset value.
Key-value observe this property to observe automatic changes to its value.