Fixes #3041 - ElementCall unable to access media on ongoing CallKit session.

This commit is contained in:
Stefan Ceriu
2024-07-22 16:36:36 +03:00
committed by Stefan Ceriu
parent 5cb44ee60c
commit b135940097
2 changed files with 21 additions and 0 deletions
@@ -88,6 +88,7 @@ private struct WebView: UIViewRepresentable {
webView = WKWebView(frame: .zero, configuration: configuration)
webView.uiDelegate = self
webView.navigationDelegate = self
webView.isInspectable = true
// https://stackoverflow.com/a/77963877/730924
webView.allowsLinkPreview = true