Instance Property

progressHandler

A block that Photos calls periodically while downloading the image.

Declaration

@property(nonatomic, copy) PHAssetImageProgressHandler progressHandler;

Discussion

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

See Also

Fetching Image Data from iCloud

networkAccessAllowed

A Boolean value that specifies whether Photos can download the requested image from iCloud.

PHAssetImageProgressHandler

The signature for a block that Photos calls while downloading asset data from iCloud. Used by the progressHandler property.