是否可以创建、打包 HTML5 应用并将其成功提交到应用商店? [英] Is it possible to create, package and successfully submit HTML5 apps to the app store?

查看:24
本文介绍了是否可以创建、打包 HTML5 应用并将其成功提交到应用商店?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,感谢阅读...

Hello everyone and thanks for reading...

我是 Mono/Web 开发人员,最近正在与一位 Apple 员工讨论 iPhone 和 iPad 上的开发问题.现在我知道 Objective C/XCode 是这些平台上开发的重中之重;但是,我很确定他提到(并向我展示了)他创建的一个 HTML5 应用程序,而basic 在他的 iPad 上的功能很弱.

I'm a Mono / Web developer and was recently talking to an Apple guy regarding development on the iPhone and iPad. Now I know that Objective C / XCode is the heavy hitter for development on these platforms; however, I'm pretty sure he mentioned (and showed me) a HTML5 application he had created that while basic was mildly functional on his iPad.

提前几周,我被要求检查获取客户按次付费"网站的大部分内容并创建可以通过以下方式购买的离线版本(并且可能由以下人员分发)的可行性) 苹果应用商店.Anyhoo,我一直试图找到 100% 确认这是可能的,我正在转向开发板,看看我是否可以得到以下问题的明确答案......

Skip ahead a couple of weeks and I've been asked to check out the feasibility of taking of chunks of a client's 'pay-per-view' website and creating a offline version that can be purchased via (and presumably distributed by ) the Apple app store. Anyhoo, I've been trying to find 100% confirmation that this is possible and I'm turning to dev boards to see whether I can get a definitive answer to the following...

我能否为 iPhone/iPad 创建一个 HTML5 应用程序(本质上是客户网站的离线部分),以便通过 Apple 应用商店上传和分发?

Can I create a HTML5 application (essentially an offline portion of a client's website) for the iPhone / iPad that can be uploaded and distributed by the Apple app store?

并且(假设上述内容没有问题)是否存在限制或需要注意的事项,即内容相当丰富,但会包含图像并提供一些小视频.

And (assuming the above is OK) are there are restrictions or things I need to be aware of, i.e. it is fairly content rich but will include images and poss a few small videos.

谢谢

SC

推荐答案

答案是肯定的,也不是 ;-) 您不能通过应用商店分发网络应用.为此,您必须设置自己的基础架构和服务器.但是,您可以做的是:编写一个非常简单的应用程序,它由一个浏览器窗口(在 Objective-C 中称为 WebView)组成,并将所有 HTML、CSS 和 JS 文件与它捆绑在一起.然后您可以使用此浏览器浏览您的本地内容.您还可以通过网络更新内容并在手机上重新缓存内容.

Well the answer is yes and no ;-) You cannot distribute web apps via the app store. You have to set up your own infrastructure and server to do so. However what you can do is the following: write a very simple application consisting of a single browser window (called a WebView in Objective-C) and bundle all the HTML, CSS and JS files with it. Then you can use this browser to browse your local content. With a bit more efford you could also implement updating the content and recaching it on your phone over the web.

所以底线是:不能通过应用商店分发纯 Web 应用程序,可以完成封装在 Objective-C 应用程序中的 Web 应用程序.

So the bottom line is: no pure web app can be distributed via the app store, a web app wrapped in an objective-C application can be done.

这篇关于是否可以创建、打包 HTML5 应用并将其成功提交到应用商店?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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