tianglin
tianglin

Reputation: 226

WKWebView or UIWebView in iOS App, does this webview support WebRTC?

I would like to embed a browser in the iOS App, such as UIWebView or WKWebView, this browser can support webRTC?

Upvotes: 0

Views: 1255

Answers (1)

cldrr
cldrr

Reputation: 1238

First you should prefer WKWebView over UIWebView if there is no special reason not to do it.

But no, neither of these two classes do support WebRTC, only the Safari iOS browser does. Not even SFSafariViewController does support it.

If you like you can file a bug report (aka Radar) here and hope for iOS 12: https://developer.apple.com/bug-reporting/

Upvotes: 3

Related Questions