---
title: delegate
framework: webkit
role: symbol
role_heading: Instance Property
path: webkit/wkdownload/delegate
---

# delegate

An object you use to track download progress and handle redirects, authentication challenges, and failures.

## Declaration

```swift
weak var delegate: (any WKDownloadDelegate)? { get set }
```

## See Also

### Managing the download

- [cancel(_:)](webkit/wkdownload/cancel(_:).md)
- [WKDownload.RedirectPolicy](webkit/wkdownload/redirectpolicy.md)
