<!--
{
  "availability" : [
    "iOS: 14.5.0 -",
    "iPadOS: 14.5.0 -",
    "macCatalyst: 14.5.0 -",
    "macOS: 11.3.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WebKit",
  "identifier" : "/documentation/WebKit/WKDownload",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "WebKit"
    ],
    "preciseIdentifier" : "c:objc(cs)WKDownload"
  },
  "title" : "WKDownload"
}
-->

# WKDownload

An object that represents the download of a web resource.

```
@MainActor class WKDownload
```

## Topics

### Managing the download

[`delegate`](/documentation/WebKit/WKDownload/delegate)

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

[`cancel(_:)`](/documentation/WebKit/WKDownload/cancel(_:))

Cancels the download, and optionally captures data so that you can resume the download later.

[`WKDownload.RedirectPolicy`](/documentation/WebKit/WKDownload/RedirectPolicy)

An enumeration with cases that indicate whether to proceed with a redirect.

### Inspecting the download

[`originalRequest`](/documentation/WebKit/WKDownload/originalRequest)

An object that represents the request that initiated the download.

[`webView`](/documentation/WebKit/WKDownload/webView)

The web view where the download initiated.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)