我需要设置skype插件,以便在ios webview或WKwebview中呼叫某人。但我无法找到如何解决这个问题.Webskype.com显示消息安装插件,当我点击这个按钮没有出现的东西。我需要设置这个插件,但如何?
let url = URL (string: "https://web.skype.com/")
var requestObj = URLRequest(url: url!)
requestObj.setValue("", forHTTPHeaderField: "X-Requested-With")
webView.isUserInteractionEnabled = true
webView.configuration.allowsAirPlayForMediaPlayback = true
webView.configuration.allowsInlineMediaPlayback = true
webView.configuration.allowsPictureInPictureMediaPlayback = true
webView.customUserAgent = "Mozilla/10.0 (Macintosh; Intel Mac OS X 10_30_2) AppleWebKit/902.3.12 (KHTML, like Gecko) Version/99.0.2 Safari/902.3.12"
webView.load(requestObj)