Contents

progressHandler

A block that Photos calls periodically while downloading the asset resource data.

Declaration

var progressHandler: PHAssetResourceProgressHandler? { get set }

Discussion

If you request an asset resource 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.

See Also

Fetching Resource Data from iCloud