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

# startDownload(using:completionHandler:)

Starts to download the resource at the URL in the request.

```
func startDownload(using request: URLRequest, completionHandler: @escaping @MainActor @Sendable (WKDownload) -> Void)
```

## Parameters

`request`

An object that encapsulates a URL and other parameters that you need to download a resource from a webpage.

`completionHandler`

A closure the system executes when it has started to download the resource.

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