Type Property


Metadata for a newly-captured photograph.


static let mediaMetadata: UIImagePickerController.InfoKey


This key is valid only when using an image picker whose source type is set to UIImagePickerController.SourceType.camera, and applies only to still images.

The value for this key is an NSDictionary object that contains the metadata of the photo that was just captured. To store the metadata along with the image in the Camera Roll, use the PHAssetChangeRequest class from the Photos framework.

See Also

Editing Keys

static let cropRect: UIImagePickerController.InfoKey

Specifies the cropping rectangle that was applied to the original image.

static let editedImage: UIImagePickerController.InfoKey

Specifies an image edited by the user.

static let imageURL: UIImagePickerController.InfoKey

A key containing the URL of the image file.

static let livePhoto: UIImagePickerController.InfoKey

The Live Photo representation of the selected or captured photo.

static let mediaType: UIImagePickerController.InfoKey

Specifies the media type selected by the user.

static let mediaURL: UIImagePickerController.InfoKey

Specifies the filesystem URL for the movie.

static let originalImage: UIImagePickerController.InfoKey

Specifies the original, uncropped image selected by the user.

static let phAsset: UIImagePickerController.InfoKey

The key to use when retrieving a Photos asset for the image.

static let referenceURL: UIImagePickerController.InfoKey

The Assets Library URL for the original version of the picked item.