iPhone/iPad WebApps don't allow cookies?

2019-02-21 17:53发布

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.

2条回答
贪生不怕死
2楼-- · 2019-02-21 18:14

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

查看更多
Animai°情兽
3楼-- · 2019-02-21 18:14

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.

查看更多
登录 后发表回答