简体   繁体   中英

How to open Safari from ios app with specified cookies

I want to open Safari from my iOS application with specified cookies. But i found that NSHTTPCookieStorage is not shared between apps in iOS. So i don't know how to do that. Please help.

我建议使用SFSafariViewController ,它将在您的应用程序内启动网页,而您拥有的cookie则将由SFSafariViewController保留而无需额外的工作。

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.

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