Hi,
I need to download data as a file from blob: URL. My macOS app uses WKWebView control and hosts web page. This web page provides a link to export the contents of the page as a CSV file.
webView(_ webView: WKWebView, decidePolicyFor navigationAction: WKNavigationAction, decisionHandler: @escaping (WKNavigationActionPolicy) -> Void)
The above function returns blob: url. But I don't know how to convert/save blob: URL contents into a file.
Is it possible to download contents using blob: URL? If so how do I download it?
I need to download data as a file from blob: URL. My macOS app uses WKWebView control and hosts web page. This web page provides a link to export the contents of the page as a CSV file.
webView(_ webView: WKWebView, decidePolicyFor navigationAction: WKNavigationAction, decisionHandler: @escaping (WKNavigationActionPolicy) -> Void)
The above function returns blob: url. But I don't know how to convert/save blob: URL contents into a file.
Is it possible to download contents using blob: URL? If so how do I download it?