WKWebViewDownloadHelper icon indicating copy to clipboard operation
WKWebViewDownloadHelper copied to clipboard

Download a file from a WKWebView

WKWebViewDownloadHelper

Sample project to show how to download a file in a WKWebView.

See this blog post for details Download files in a WKWebView

If you need to add this code to your project a Swift Package to import via SPM is available here