Is it possible to turn off location permission in WKWebView?
问题 I am wondering if it is possible to stop WKWebView from showing the location permission prompt? ( "website.com" Would Like To Use Your Current Location ) I believe it is showing because the website contains a google map. I am not interested in preloading a location in its place like is shown in other SO questions. I simply don't want to use location in the WKWebView. Is there a way to stop the location permission prompt from appearing? I have tried injecting the following javascript but it