LocalStorage not working on iPad and iPhone

This question already has an answer here:

  • html5 localStorage error with Safari: “QUOTA_EXCEEDED_ERR: DOM Exception 22: An attempt was made to add something to storage that exceeded the quota.” 10 answers

  • 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保证持久?

    下一篇: LocalStorage不适用于iPad和iPhone