I've heard that it's possible to share cookies(obviously from the same source) across apps in iOS9
using SFSafariViewController
. How do I do that?
I know that loading a webpage with SFSafariViewController
would send all of my cookies associated with it in Safari to my server which can then respond with some new cookies.
But how do I read these new cookies? They are being stored in Safari's cookie storage which is independent of any app.
您可以将其与url方案关联以实现目标。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.