The iOS license terms states:
3.3.2 An Application may not download or install executable code. Interpreted code may only be used in an Application if all scripts, code and interpreters are packaged in the Application and not downloaded. The only exception to the foregoing is scripts and code downloaded and run by Apple's builtin WebKit framework, provided that such scripts and code do not change the primary purpose of the Application by providing features or functionality that are inconsistent with the intended and advertised purpose of the Application as submitted to the App Store.
Which is a slight change to the terms as discussed here: Does javascript on iOS have to be downloaded *by* the WebKit framework in addition to executing within its framework?
Which arguably implies you CAN download and execute Javascript if its executed within a UIWebView as UIWebView is part of the builtin WebKit framework.
What is the situation regarding downloading and executing Javascript using not UIWebView but JavaScriptCore. Is JavaScript core considered part of the WebKit framework