LocalStorage not working on iPad and iPhone
This question already has an answer here:
After many headaches, I think I got it figured out. HTML5 local storage and private browsing do not mix. I had private browsing on (in the Safari settings) and that appeared to be blocking local storage. Actually, an exception was being thrown but swallowed up by the browser (???). Once I turned private browsing off, everything appeared to work.
链接地址: http://www.djcxy.com/p/36798.html上一篇: 本地存储iPad的Safari保证持久?