webView(_:navigationAction:didBecome:)
Tells the delegate that a navigation action became a download.
Declaration
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
Implement this method to begin tracking download progress.