为Mac App Store创建基于HTML5的应用程序 [英] Creating HTML5-based apps for the Mac App Store

查看:158
本文介绍了为Mac App Store创建基于HTML5的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Mac的新Tweetdeck应该是基于HTML5的:

The new Tweetdeck for the Mac is supposedly HTML5-based:

http://www.cultofmac.com/134237/tweetdeck-releases-html5-based-app-in-the- mac-app-store /

任何人都知道如何为这样的Mac App Store构建HTML5应用程序?我找不到任何关于它的文档。

Anyone know how to build a HTML5 app for the Mac App Store like this? I can't find any documentation on it.

推荐答案

我的猜测是他们做了类似 PhoneGap 确实 - 在XCode项目中添加webview。 Webview基本上是可以运行html5和javascript的嵌入式浏览器。然后,他们用html5编写他们的页面,并可以通过ajax调用他们的dataservices。

My guess is they do something similar to what PhoneGap does - add a webview in an XCode project. Webviews are basically embedded browsers that can run html5 and javascript. Then, they code their pages in html5 and can call their dataservices via ajax.

这是一个关于如何将你的html5代码添加到xcode中的webview的教程: a href =http://www.lostdecadegames.com/how-to-embed-html5-into-a-native-mac-osx-app/> http://www.lostdecadegames.com/how-to- embed-html5-into-a-native-mac-osx-app /

Here is actually a tutorial on how to add your html5 code to a webview in xcode: http://www.lostdecadegames.com/how-to-embed-html5-into-a-native-mac-osx-app/

这篇关于为Mac App Store创建基于HTML5的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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