Call JavaScript function from native code in WKWebView
(I filed a Radar for this shortly after asking the question here.) A new method was just added a few days ago (thanks jcesarmobile for pointing it out): Add -[WKWebView evaluateJavaScript:completionHandler:] http://trac.webkit.org/changeset/169765 The method is available in iOS 8 beta 3 and up. Here’s the new method signature: /* @abstract Evaluates the given JavaScript string. … Read more