Is it permited to download javascript code to iPhone

一个人想着一个人 提交于 2019-11-30 17:12:44

问题


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.

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

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 rejected

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?


回答1:


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

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

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

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.



来源:https://stackoverflow.com/questions/3677632/is-it-permited-to-download-javascript-code-to-iphone

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!