且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

为Mac App Store创建基于HTML5的应用程序

更新时间:2022-12-21 08:34:00

我的猜测是他们做了类似 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/