A Boolean value that determines whether the photo output captures depth data along with the photo.
- iOS 11.0+
- Mac Catalyst 13.0+
When this property is
false (the default), the capture output produces only photo data and metadata.
If you change this property to
true, the capture output records per-pixel scene depth information and delivers an
AVDepth object in the photo capture results. Enabling depth capture for a photo capture request requires that the photo output first be configured for depth capture using its own
is property (and raises an exception otherwise).