---
title: WKDownload
framework: webkit
role: symbol
role_heading: Class
path: webkit/wkdownload
---

# WKDownload

An object that represents the download of a web resource.

## Declaration

```swift
@MainActor class WKDownload
```

## Topics

### Managing the download

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

### Inspecting the download

- [originalRequest](webkit/wkdownload/originalrequest.md)
- [webView](webkit/wkdownload/webview.md)

### Instance Properties

- [isUserInitiated](webkit/wkdownload/isuserinitiated.md)
- [originatingFrame](webkit/wkdownload/originatingframe.md)

### Enumerations

- [WKDownload.PlaceholderPolicy](webkit/wkdownload/placeholderpolicy.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [ProgressReporting](foundation/progressreporting.md)
- [Sendable](swift/sendable.md)

## See Also

### Downloads

- [WKDownloadDelegate](webkit/wkdownloaddelegate.md)
