开发者

Is Javascript an "other executable code" for iOS?

开发者 https://www.devze.com 2023-03-28 00:10 出处:网络
In Apple\'s guidelines, I saw: 2.7 Apps that download code in any way or form will be rejected 2.8 Apps that install or launch other executable code will be rejecte开发者_StackOverflow中文版d

In Apple's guidelines, I saw:

2.7 Apps that download code in any way or form will be rejected

2.8 Apps that install or launch other executable code will be rejecte开发者_StackOverflow中文版d

What I'm trying to do now is to provide a TextView that allows the users to enter Javascript and run in UIWebView by

stringByEvaluatingJavaScriptFromString:

So I'm not 'downloading' any code, and Javascript is not something 'other' but part of the UIWebView's features.

In some ways, its just like running a regular UGC WebApp in UIWebView.

I'm ready to submit the app but still worry about being rejected after a 10-day-waiting...

Anybody knows exactly whether this is OK??


Check your current iOS Standard Agreement. It may explicitly allow executing Javascript inside UIWebView, no matter whether the Javascript was downloaded or otherwise. It also may allow interpreting any source code (Javascript or otherwise) that isn't downloaded (e.g. entered as text, as with the half dozen or so Basic interpreters allowed in the App store since the agreement was revised last year).


Interpreting it this way would disqualify, for example, all apps that use Facebook Connect, which shows a dialog in a web view and there's at least some Javascript in it.

So you should be fine.

0

精彩评论

暂无评论...
验证码 换一张
取 消