sessionstorage - iPhone 6 plus html5的storage不工作~
怪我咯
怪我咯 2017-04-17 11:22:25
0
2
406

检查 window.sesstionStorage 是返回 true 的,可是当设置值时window.sesstionStorage.setItem('prop', 'value'); 以后的所有代码就都不值行了~

有遇到过的没~

怪我咯
怪我咯

走同样的路,发现不同的人生

reply all(2)
巴扎黑

In private browsing mode, Safari, iOS Safari and the Android browsers do not support setting sessionStorage or localStorage.

Have you encountered this?

左手右手慢动作

I found the reason. 6 plus is enabled by default in Safari. As a result, an error is reported when Private Browsing is executed setItem(). Thanks @limichangeError: QuotaExceededError: DOM Exception 22

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template