javascriptioswebkitmobile-webkit

Feasible to build your own WebKit-based UIWebView for iOS?


Apple has (partly) open sourced the WebKit and JavaScriptCore engine they use in iOS: http://www.opensource.apple.com/release/ios-433/

It is already possible to build, use, and ship your own version of JavaScriptCore on iOS. Is it, however, possible to do the same with the rendering engine of WebKit? The UIWebView on iOS is very limited. The vital feature it is missing is accessing the JavaScriptCore JavaScript context object. Without it, it's close to impossible to run some code directly in JavaScriptCore and some code in the web view while sharing the same JS engine. So I'm interested in building my own WebKit-based web view that exposes the JavaScript context.

Are there any projects that have done any work in this regard yet? Would the compiled web view library be far too big to ship with an app?

Thanks!


Solution

  • I guess unfortunately the answer is no.

    The question was whether it's feasible or not. Based on not receiving any answers and not finding any information online I concluded that it would not be impossible but far too much work to be feasible.