I’m investigating the feasibility of developing a native (hybrid) app based on HTML/Javascript (using UIWebView) that once installed is capable of downloading and executing more html and javascript and objective-c*.
The Objective-C code would be invoked by the HTML/Javascript code.
I’m thinking the Objective-C would have to be complied into a static library. Would this work, or are there any other means/mechanisms available?
- The guidelines say this:
“3.3.2 An Internal Use 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 built-in WebKit framework.”
Note how it says scripts and code can be downloaded and run by Webkit.
HTML/JS/CSS should be fine, but downloading and executing Objective-C code is not allowed by Apple and will result in rejection/quick removal of your app from the App Store