Les réflexions de l'ingénieur

How to create App for iOS using HTML5

Sinchron on Iphone 4

Sinchron is HTML5 application, which was ported to iOS platform

  1. Create HTML application using HTML5 and CSS3
  2. Create manifest file
  3. Add link to manifest in HTML file: <html manifest="cache.manifest">
  4. Add settings for Safari to HTML file: <meta name="apple-mobile-web-app-capable" content="yes" /><meta name="apple-mobile-web-app-status-bar-style" content="black" /><meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no" />
  5. If needed to handle device onorientation change event use this: window.onorientationchange = function() { // code here }

Sources

Leave a message