I\'m currently using WebView in a Cocoa app, I\'d also like to use the HTML5 File API, within webview (specifically FileReader). FileReader is not supported in the latest ve
If you mount the WebKit nightly build disk image, you can temporarily tell your app to use that library instead of the built-in WebKit by setting this environment variable:
DYLD_FRAMEWORK_PATH=/Volumes/WebKit/WebKit.app/Contents/Frameworks/10.9
To set this in Xcode 4, click on the Scheme popup and choose Edit Scheme. Next, click the Arguments tab and add a new environment variable, with the name DYLD_FRAMEWORK_PATH
and the value /Volumes/WebKit/WebKit.app/Contents/Frameworks/10.9
.
Note that this is for development only, and will not work for end users.
It is generally a really bad idea to use a custom version of WebKit in a shipping app, but if you absolutely must ship a development version of WebKit to your users, you should build it from source and link directly to that code. You would probably need to build WebCore as well. Yay, fun times! :-/