Instance Property

metadata

A dictionary of metadata describing the captured image.

Declaration

var metadata: [String : Any] { get }

Discussion

See CGImageProperties for possible keys and values. Metadata captured with a photo may include image orientation, EXIF camera properties, and Live Photo metadata.

See Also

Accessing Photo Metadata

var depthData: AVDepthData?

Depth or disparity map data captured with the photo.

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 portraitEffectsMatte: AVPortraitEffectsMatte?

The portrait effects matte captured with the photo.

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