Instance Property


A Boolean value indicating whether the capture output currently supports depth data capture.


@property(nonatomic, readonly, getter=isDepthDataDeliverySupported) BOOL depthDataDeliverySupported;


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 sessionPreset property of the current capture session or the activeFormat property of the underlying capture device changes. If a camera or format change causes this property’s value to become NO, the depthDataDeliveryEnabled property’s value also becomes NO.

This property is key-value observable.

See Also

Configuring Depth Data Capture


A Boolean value that specifies whether to configure the capture pipeline for depth data capture.