iPhone/iPad WebApps don't allow cookies?

随声附和 提交于 2019-12-01 15:15:31

问题


When I use <meta name="apple-mobile-web-app-capable" content="yes">, my page doesn't set, load, or retrieve cookies. Is there any way to get around this? I can't find anything useful in Google.


回答1:


UIWebviews don't store cookies. Use HTML5 local storage instead.




回答2:


There is a small bug in the comment on the first line of jquery.cookie.js that iPads don't like.

Change /*! to /* on line 1.



来源:https://stackoverflow.com/questions/4904334/iphone-ipad-webapps-dont-allow-cookies

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!