JavaScript是一种"其他可执行code"适用于iOS? [英] Is Javascript an "other executable code" for iOS?

查看:199
本文介绍了JavaScript是一种"其他可执行code"适用于iOS?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在苹果的指导方针,我看到:

In Apple's guidelines, I saw:

2.7应用程序的下载code以任何方式或形式会被拒绝。

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

这是安装或启动其他可执行code 2.8应用程序将会被拒绝。

2.8 Apps that install or launch other executable code will be rejected

我试图现在要做的是提供一个的TextView ,允许用户输入Javascript和运行的的UIWebView

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:

所以我不'的下载的'任何code,和Javascript是不是'的其他的',但在 UIWebView中的功能。

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

在某些方面,它就像运行的常规UGC Web应用程序的的UIWebView

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

我已经准备好提交的应用程序,但仍然担心10天的等待后,被拒绝......

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??

推荐答案

查看当前的iOS标准协议。它可能明确允许执行里面的UIWebView Javascript中,无论是否使用Javascript被下载或以其他方式。它也允许跨preting任何源$ C ​​$ C(Javascript或其他方式)未下载(如作为文本输入,与半打,因为在App Store允许左右基本际preters该协议于去年修订)。

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).

这篇关于JavaScript是一种"其他可执行code"适用于iOS?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆