所以底线是:没有纯 Web 应用程序可以通过应用程序商店分发,可以完成包装在 Objective-C 应用程序中的 Web 应用程序。
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.
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.
"PhoneGap is an open source development framework for building cross-platform mobile apps. Build apps in HTML and JavaScript and still take advantage of core features in iPhone/iTouch, iPad, Google Android, Palm, Symbian and Blackberry SDKs."
发布评论
评论(2)
答案是肯定和否定;-) 您无法通过应用程序商店分发网络应用程序。为此,您必须设置自己的基础设施和服务器。
然而,您可以做的是:编写一个由单个浏览器窗口(在 Objective-C 中称为 WebView)组成的非常简单的应用程序,并将所有 HTML、CSS 和 JS 文件与其捆绑在一起。然后您就可以使用该浏览器浏览您的本地内容。如果再努力一点,您还可以通过网络在手机上更新内容并重新缓存。
所以底线是:没有纯 Web 应用程序可以通过应用程序商店分发,可以完成包装在 Objective-C 应用程序中的 Web 应用程序。
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.
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.
不知道这是否有帮助,但 Twiiter 上有人给我发了这个 http://www.phonegap.com/
Dunno if this helps, but someone on Twiiter sent me this http://www.phonegap.com/