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.
Copyright Notice:Content Author:「evanescent」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/32511913/sharing-cookies-across-apps-in-ios9