niclas Posted February 10, 2012 Share Posted February 10, 2012 I've created a web app for iPhone in full screen mode. Since it resets the url each time I re-open the app, I store the last url each time in localstorage. On the next load of the app, it reads this from localstorage. This works perfectly on my iPhone. When I try exactly the same page on an iPod Touch which is just factory reset, it doesn't work. It doesn't store anything. Both have iOS 5.0.1 (9A405). My friend tried it, and on his iPhone it doesn't work, but on his iPad it does. All 5.0.1. Also on my iPad, it doesn't work. Here's another page that uses localstorage, which works on my iPhone, but not on my iPod: http://www.guitarunleashed.com/m/ Open it on your iDevice, search for a song, click it, add to favorites. Now you'll see the song again, if it was saved to localstorage. So my question is, is there a setting to enable/disable localstorage, and why doesn't it work by default on a newly installed iDevice? Quote Link to comment https://forums.phpfreaks.com/topic/256803-html5-localstorage-works-on-one-iphone-ios-501-but-not-the-other/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.