Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
59
rated 0 times [  61] [ 2]  / answers: 1 / hits: 21205  / 8 Years ago, wed, february 24, 2016, 12:00:00

I have found a few questions here on StackOverflow addressing specific functionality with iOS Safari Private Browsing and sessionStorage and localStorage. But I haven't been able to find a definitive resource denoting the support that iOS Safari has for sessionStorage and localStorage when Private Browsing.



What support is there for this or is there any specific resource from Apple denoting this functionality? The general consensus is that localStorage is not at all supported without a polyfill, does the same goes for sessionStorage?



Thank you so much!


More From » ios

 Answers
21

I don't think there is any specific resource for iOS, but here's Apple's official documentation:



https://developer.apple.com/library/safari/documentation/iPhone/Conceptual/SafariJSDatabaseGuide/Name-ValueStorage/Name-ValueStorage.html



And this StackOverflow question is pretty useful as well:



QuotaExceededError: Dom exception 22: An attempt was made to add something to storage that exceeded the quota



In general, when solving for sessionStorage and localStorage, try actually developing locally with Safari on your phone with Web Inspector open. Good luck :)


[#63179] Tuesday, February 23, 2016, 8 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
calicinthias

Total Points: 447
Total Questions: 101
Total Answers: 118

Location: Botswana
Member since Sat, Dec 31, 2022
1 Year ago
calicinthias questions
Sun, Jan 2, 22, 00:00, 2 Years ago
Wed, Jan 13, 21, 00:00, 3 Years ago
Mon, Aug 10, 20, 00:00, 4 Years ago
;