Mac 的新 Tweetdeck 据说是基于 HTML5 的:
http://www.cultofmac.com/134237/tweetdeck-releases-html5-based-app-in-the-mac-app-store/
有人知道如何像这样为 Mac App Store 构建 HTML5 应用程序吗?我找不到关于它的任何文档。
最佳答案
我的猜测是他们做了类似于 PhoneGap 的事情确实 - 在 XCode 项目中添加一个 webview。 Webview 基本上是可以运行 html5 和 javascript 的嵌入式浏览器。然后,他们用 html5 编码他们的页面,并可以通过 ajax 调用他们的数据服务。
这里实际上是一个关于如何在 xcode 中将 html5 代码添加到 webview 的教程:http://www.lostdecadegames.com/how-to-embed-html5-into-a-native-mac-osx-app/
关于html - 为 Mac App Store 创建基于 HTML5 的应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8491124/