是否可以下载javascript代码到iPhone [英] Is it permited to download javascript code to iPhone

查看:198
本文介绍了是否可以下载javascript代码到iPhone的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个混合应用程序,它基本上是一个从UIWebview中的应用程序文件夹运行的网站。

I have an hybrid application, it's basically a website running from the application folder inside a UIWebview.

问题是我打算通过下载来更新我的网站整个网站来自互联网,然后更换旧网站。

The problem is that I was planning to update my website by downloading the whole website from internet and then replacing the old website.

今天我发现Apple现在提供App Store评论指南,其中包括以下规则:

Today I found that Apple now provides the App Store Review Guidelines and among others there are the following rules:


2.7以任何方式或形式下载代码的应用程序将被拒绝

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

2.8应用程序安装或启动其他可执行代码将被拒绝

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

因为我的网站有html,css和javascript,这是否意味着我的应用程序将被拒绝或有机会被接受吗?
您对此有何看法?

Because my site has html, css and javascript, does that mean that my app will be rejected or is there any chance to be accepted? What are your thoughts on that?

推荐答案

从应用程序开发人员协议的新文本中,关于下载可执行文件代码:

From the new text of of the application developer agreement, regarding downloading executable code:


上述唯一的例外是由Apple内置的WebKit框架下载和运行的脚本和代码。

The only exception to the foregoing is scripts and code downloaded and run by Apple's built-in WebKit framework.

这包括javascript和混合应用程序,所以你应该没事。

This includes javascript and hybrid applications, so you should be fine.

尽管考虑到这一点,你为什么不让你的应用程序利用iPhone webapp的东西?您仍然可以在主屏幕上看到一个图标,并且无需让Apple批准您的应用程序即可删除浏览器Chrome。

Although, taking all of this into account, why didn't you just allow your app to take advantage of the iPhone webapp stuff? You still get an icon on the home screen, and get rid of the browser chrome without having to get Apple to approve your app.

这篇关于是否可以下载javascript代码到iPhone的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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