Global Variable

UIImagePickerControllerLivePhoto

The Live Photo representation of the selected or captured photo.

Declaration

const UIImagePickerControllerInfoKey UIImagePickerControllerLivePhoto;

Discussion

A Live Photo is a picture, that includes motion and sound from the moments just before and after its capture. On compatible devices, the Camera app captures all photos as Live Photos by default, but the imagePickerController:didFinishPickingImage:editingInfo: method’s image parameter contains only the still image representation.

To obtain the motion and sound content of a live photo for display (using the PHLivePhotoView class), include the kUTTypeImage and kUTTypeLivePhoto identifiers in the allowed media types when configuring an image picker controller. When the user picks or captures a Live Photo, the editingInfo dictionary contains the UIImagePickerControllerLivePhoto key, with a PHLivePhoto representation of the photo as the corresponding value.

See Also

Editing Keys

UIImagePickerControllerCropRect

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

UIImagePickerControllerEditedImage

Specifies an image edited by the user.

UIImagePickerControllerImageURL

A key containing the URL of the image file.

UIImagePickerControllerMediaMetadata

Metadata for a newly-captured photograph.

UIImagePickerControllerMediaType

Specifies the media type selected by the user.

UIImagePickerControllerMediaURL

Specifies the filesystem URL for the movie.

UIImagePickerControllerOriginalImage

Specifies the original, uncropped image selected by the user.

UIImagePickerControllerPHAsset

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

UIImagePickerControllerReferenceURL

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

Deprecated