Contents

progressHandler

A block Photos calls periodically while downloading the video.

Declaration

var progressHandler: PHAssetVideoProgressHandler? { get set }

Discussion

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

See Also

Fetching Video Data from iCloud