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.