问题
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