Contents

PHLivePhotoInfoErrorKey

An error that occurred while attempting to load the requested Live Photo.

Declaration

let PHLivePhotoInfoErrorKey: String

Discussion

The request(withResourceFileURLs:placeholderImage:targetSize:contentMode:resultHandler:) method validates that the files and their metadata can be loaded as a Live Photo. If Photos cannot load a Live Photo from the specified files, the result parameter in your result handler block is nil, and this key in the info dictionary contains an NSError object describing the error.

See Also

Constants