Swift5中WKWebView调用相机时出现黑屏问题
iOS WKWebView调用相机黑屏问题

我在iOS应用中实现了WKWebView,并对其进行了如下配置:
public static var configuration: WKWebViewConfiguration { let config = WKWebViewConfiguration() config.websiteDataStore = self.webCookieDataStore config.processPool = self.webProcessPool config.allowsInlineMediaPlayback = false return config }
视频可正常全屏播放及自动播放,但在WebView中调用相机时会出现黑屏。截图来自模拟器,真机上也存在同样问题。
内容的提问来源于stack exchange,提问作者Sudha Tiwari
相关产品推荐
相关产品推荐

