Creating HTML5-based apps for the Mac App Store

前端 未结 4 818
终归单人心
终归单人心 2021-02-04 10:57

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/

Anyone know how

4条回答
  •  旧时难觅i
    2021-02-04 11:32

    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.

    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/

提交回复
热议问题