yazz.com
yazz.com

Reputation: 58786

How can I make a mobile webapp work offline on iPhone?

I am thinking of having a HTML page which references no CSS or .js files outside of itself so that it can work offline. Would this work?

Upvotes: 1

Views: 285

Answers (2)

Olexander Ivanitskyi
Olexander Ivanitskyi

Reputation: 2240

You should use HTML5 Application Cache.

Consider starting from this tutorial: http://www.html5rocks.com/en/tutorials/appcache/beginner/

Upvotes: 1

David Fang
David Fang

Reputation: 1787

Yes this will work. You can put all HTML pages and CSS or JS files which HTML references to into your app.

Upvotes: 1

Related Questions