I have my WKWebView
when I click on a file to download it. I have a popup writing:
No application configured to open the URL
blob:https// ...
I tried to register a custom URL scheme blob
to WKWebView
, the application crash saying that this scheme is already supported by default.
However, when I click on the file, the delegate is not called:
func webView(_ webView: WKWebView, decidePolicyFor navigationResponse: WKNavigationResponse, decisionHandler: @escaping (WKNavigationResponsePolicy) -> Void)`
So I can't even know when a blob url is clicked to try to download the file by injecting JavaScript.
My application is for macOS.