Black screen coming up in WkWebView while opening Camera Swift5

Viewed 32

enter image description hereI have implemented WKWebView in iOS app. I have done some configuration for webview.

   public static var configuration: WKWebViewConfiguration {
     let config = WKWebViewConfiguration()
     config.websiteDataStore = self.webCookieDataStore
     config.processPool = self.webProcessPool
     config.allowsInlineMediaPlayback = false
     return config
}

Videos are playing well in full screen and autoplay. But when I open camera in webview then black blank screen is appearing. Screenshot is from simulator for result purpose. The same thing is happening in iOS device.

0 Answers
Related