3 ms·
There is everything stopping you. WKWebView runs in its own process and has very limited options for integrating native code.
by untog 8y ago
There is everything stopping you. WKWebView runs in its own process and has very limited options for integrating native code.
- JimDabell 8y agoThe model I was thinking of was native code in the native app, injected polyfill that talks to the native code over a message bus. The native code can draw over the top of the web view and pass messages in. Is there anything in particular stopping that?
- Klathmon 8y agoI believe the problem is the "message bus" is pretty slow, and has pretty limited throughput, especially for something like audio and video.
- SahAssar 8y agoIIRC that is exactly what ericsson did, they made a iOS browser that allowed webrtc years before apple by adding functionality to webviews.