Can WKWebView save location services permission?

I am writing an ios application that is mainly implemented in a web view and runs inside my own application.

Is there a way to save the granted permission in web browsing sessions or to grant permission to the user in the web view every time the web view is loaded inside the native application? Asking the user to reauthorize the same website again and again creates a very bad user interface.

I read the documentation for UIWebView and WKWebView, but I didn’t find any mentions there or mention the stack today, so maybe I ask the community to help me prove a negative result here. Any input to be appreciated.

+5
source share

Source: https://habr.com/ru/post/1244769/


All Articles