HTTPCookie.cookies(withResponseHeaderFields:for:) can't work with WKWebView in iOS12 beta

Hi all,


I am using HTTPCookie.cookies(withResponseHeaderFields:for:) to get cookies for WKWebView, but it can't work in iOS 12 beta(1 to 4). I can't get any cookie.

Does anyone have information about whether this is a spec or a bug?

Replies

This is breaking auth in our app, any update?

This is breaking our app. Is there any way or method throgh which we can capture and store the cookies?

This is breaking our app. Is there any way or method throgh which we can capture and store the cookies?

Is this your issue? https://bugs.webkit.org/show_bug.cgi?id=188691