简体   繁体   English

iPhone / iPad WebApp不允许cookie?

[英]iPhone/iPad WebApps don't allow cookies?

When I use <meta name="apple-mobile-web-app-capable" content="yes"> , my page doesn't set, load, or retrieve cookies. 当我使用<meta name="apple-mobile-web-app-capable" content="yes"> ,我的页面没有设置,加载或检索cookie。 Is there any way to get around this? 有什么办法可以解决这个问题? I can't find anything useful in Google. 我在Google中找不到有用的东西。

UIWebviews don't store cookies. UIWebviews不存储cookie。 Use HTML5 local storage instead. 请改用HTML5本地存储。

There is a small bug in the comment on the first line of jquery.cookie.js that iPads don't like. iPad不喜欢的jquery.cookie.js第一行的注释中有一个小错误。

Change /*! 更改/ *! to /* on line 1. 到第1行的/ *。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM