Thanks for being a part of WWDC25!

How did we do? We’d love to know your thoughts on this year’s conference. Take the survey here

WebView permission

Hi, I'm using a webview in Swift, where I load an html file locally. Basically I have an angular project built and loaded directly into my app bundle. The webview requires the use of the camera. I request permissions via and javascript, the pop-up appears, I accept the permissions and the app works correctly. Only that after a certain number of seconds, the permissions are requested again. It's as if the webview doesn't cache the accepted permissions. Is this normal behavior?

Answered by DTS Engineer in 839635022

Please see the following video:

Explore WKWebView additions

starting at 13:15 in the presentation.

Please see the following video:

Explore WKWebView additions

starting at 13:15 in the presentation.

WebView permission
 
 
Q