iOS 7 and JavaScriptCore

Owen Mathews of the Big Nerd Ranch team on the new JavaScript Core in iOS 7:

Until iOS 7, there was only one way to interact with JavaScript from an iOS app. UIWebView exposes one method, -stringByEvaluatingJavaScriptFromString.

Enter the JavaScriptCore framework. Its C-based API has been exposed on OS X for some time, but with iOS 7 and OS X 10.9, it has been updated and expanded with an Objective-C interface.