Contents

webView(_:navigationResponse:didBecome:)

Tells the delegate that a navigation response became a download.

Declaration

optional func webView(_ webView: WKWebView, navigationResponse: WKNavigationResponse, didBecome download: WKDownload)

Parameters

  • webView:

    The web view in which the navigation response took place.

  • navigationResponse:

    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.

See Also

Handling download progress