Instance Property

progressHandler

A block that Photos calls periodically while downloading the Live Photo.

Declaration

var progressHandler: PHAssetImageProgressHandler? { get set }

Discussion

If you request a Live Photo whose data is not on the local device, and you have enabled downloading with the PHLivePhotoRequestOptions property, Photos calls your block periodically to report progress and to allow you to cancel the download.

See Also

Fetching Image Data from iCloud

var isNetworkAccessAllowed: Bool

A Boolean value that specifies whether Photos can download the requested Live Photo data from iCloud.