---
title: "webView(_:navigationAction:didBecome:)"
framework: webkit
role: symbol
role_heading: Instance Method
path: "webkit/wknavigationdelegate/webview(_:navigationaction:didbecome:)"
---

# webView(_:navigationAction:didBecome:)

Tells the delegate that a navigation action became a download.

## Declaration

```swift
optional func webView(_ webView: WKWebView, navigationAction: WKNavigationAction, didBecome download: WKDownload)
```

## Parameters

- `webView`: The web view in which the navigation action took place.
- `navigationAction`: Descriptive information about the navigation response that turned into a download.
- `download`: An object that represents the download of a web resource.

## Discussion

Discussion Implement this method to begin tracking download progress.

## See Also

### Handling download progress

- [webView(_:navigationResponse:didBecome:)](webkit/wknavigationdelegate/webview(_:navigationresponse:didbecome:).md)
