Instance Property


A Boolean value that determines whether any depth data captured with the photo is included when generating output file data.


@property(nonatomic) BOOL embedsDepthDataInPhoto;


When this property is YES (the default), and depth data capture is enabled with the depthDataDeliveryEnabled property, the AVCapturePhoto class includes the depth map as an embedded attachment when you flatten the photo data for output in compatible file formats.

Set this property to NO if you wish to capture depth data with a photo but not include depth data in output.

See Also

Capturing Depth Data


A Boolean value that determines whether the photo output captures depth data along with the photo.


A Boolean value that determines whether to smooth noise and fill in missing values in depth data output.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software