---
title: "resumeDownload(fromResumeData:completionHandler:)"
framework: webkit
role: symbol
role_heading: Instance Method
path: "webkit/wkwebview/resumedownload(fromresumedata:completionhandler:)"
---

# resumeDownload(fromResumeData:completionHandler:)

Resumes a failed or canceled download.

## Declaration

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

```swift
func resumeDownload(fromResumeData resumeData: Data) async -> WKDownload
```

## 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

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

## See Also

### Managing downloads

- [startDownload(using:completionHandler:)](webkit/wkwebview/startdownload(using:completionhandler:).md)
