when redirect with code 302, WKWebView cannot set cookie

前端 未结 7 1461
被撕碎了的回忆
被撕碎了的回忆 2020-12-18 02:59

I sent request to url1. url1 will redirect to url2 with cookie. url2 is for authorization. And I get code \"302 found\", which is correct. But when url2 redirect back to ur

7条回答
  •  一整个雨季
    2020-12-18 03:40

    I suppose the proper solution for iOS 11 is to use the WKHTTPCookieStore. It's designed to solve exactly this issue as per this keynote.

提交回复
热议问题