Instance Property


Depth or disparity map data captured with the photo.


var depthData: AVDepthData? { get }


To request capture of depth data alongside a photo (on supported devices), set the isDepthDataDeliveryEnabled property of your photo settings object to true when requesting photo capture. If you did not request depth data delivery, this property's value is nil.

See Also

Accessing Photo Metadata

class AVDepthData

A container for per-pixel distance or disparity information captured by compatible camera devices.

var cameraCalibrationData: AVCameraCalibrationData?

Calibration information for the camera device that captured the photo.

class AVCameraCalibrationData

Information about the camera characteristics used to capture images and depth data.

var sourceDeviceType: AVCaptureDevice.DeviceType?

The type of device that captured the photo.

var metadata: [String : Any]

A dictionary of metadata describing the captured image.

var portraitEffectsMatte: AVPortraitEffectsMatte?

The portrait effects matte captured with the photo.