WKWebView is not asking permission for camera in the app. When I load the same url in safari browser it asks the permission for camera, and face recognition works perfectly. But when I embed this in WKWebView permission is not asked even I have given both camera and microphone permission in plist file. The same thing is not working even in UIWebView and safari view controller.
Asked
Active
Viewed 2,843 times
1 Answers
4
This is a known limitation for WKWebView, WebRTC is only supported in Safari, not even in SFSafariViewController.
The only way would be to open the redirect URL in Safari.

Mircea Dragota
- 644
- 7
- 17