<!--
{
  "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/WKWebView/resumeDownload(fromResumeData:completionHandler:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "WebKit"
    ],
    "preciseIdentifier" : "c:objc(cs)WKWebView(im)resumeDownloadFromResumeData:completionHandler:"
  },
  "title" : "resumeDownload(fromResumeData:completionHandler:)"
}
-->

# resumeDownload(fromResumeData:completionHandler:)

Resumes a failed or canceled download.

```
func resumeDownload(fromResumeData resumeData: Data, completionHandler: @escaping @MainActor @Sendable (WKDownload) -> Void)
```

## Parameters

`resumeData`

An object with data that you use to resume a failed or canceled download.

`completionHandler`

A closure the system executes when it has resumed a download.

## Discussion

To receive progress updates, set the delegate of the download object in the completion handler.

---

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)