---
title: PHAssetResourceProgressHandler
framework: photos
role: symbol
role_heading: Type Alias
path: photos/phassetresourceprogresshandler
---

# PHAssetResourceProgressHandler

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

## Declaration

```swift
typealias PHAssetResourceProgressHandler = (Double) -> Void
```

## Discussion

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. The block takes a single parameter:

## See Also

### Fetching Resource Data from iCloud

- [isNetworkAccessAllowed](photos/phassetresourcerequestoptions/isnetworkaccessallowed.md)
- [progressHandler](photos/phassetresourcerequestoptions/progresshandler.md)
