WKWebView for OSX App

Dear Quinn “The Eskimo!”

I have a simple app to show web application in WKWebView. The main problem is when the user clicks the link to download file then the WKWebView is trying to display this file instead of download.

I then implemented method "decidePolicyForNavigationResponse" and handled the download by self. But it is not always successful. Sometimes the download click form Google Drive is not hitting the delegate.
Please help.

Thanks!
WKWebView for OSX App
 
 
Q