A Boolean value indicating whether the capture output currently supports depth data capture.
- iOS 11.0+
- Mac Catalyst 13.0+
Depth data captures a per-pixel map of scene depth information delivered alongside the photo image and optionally embedded in image file output. Depth data can be used for purposes such as applying depth-sensitive photo filter effects (like that seen in the iOS Camera app's Portrait mode) and performing computer vision tasks.
Not all devices and capture formats support depth capture. This property’s value can change if the
session property of the current capture session or the
active property of the underlying capture device changes. If a camera or format change causes this property’s value to become
depth property’s value also becomes
This property is key-value observable.