---
title: progressHandler
framework: photos
role: symbol
role_heading: Instance Property
path: photos/phvideorequestoptions/progresshandler
---

# progressHandler

A block Photos calls periodically while downloading the video.

## Declaration

```swift
var progressHandler: PHAssetVideoProgressHandler? { get set }
```

## Discussion

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

- [isNetworkAccessAllowed](photos/phvideorequestoptions/isnetworkaccessallowed.md)
- [PHAssetVideoProgressHandler](photos/phassetvideoprogresshandler.md)
