Stop native web app from reloading itself upon opening on iOS

Posted by cguedel on Stack Overflow See other posts from Stack Overflow or by cguedel
Published on 2010-11-27T13:05:46Z Indexed on 2012/12/17 23:03 UTC
Read the original article Hit count: 175

Filed under:
|

I'm trying to build a "native web app" using HTML + JS on iOS. As you may know you can add such an application to the homescreen and it will more or less look just like a normal native app.

However if I quit such an app and reopen it again it reloads the whole page again. This also happens when switching to such an application from another over the multitasking bar.

Is this expected behaviour or is there a way to stop the device from doing this?

As an example you can add the jqTouch-Demos from here to your homescreen and test it: http://jqtouch.com/preview/demos/main/

© Stack Overflow or respective owner

Related posts about web-applications

Related posts about ios