Hey, I have a question regarding WKWebView.
Under "Sharing Cookie Storage" section in HTTPCookieStorage's documentation it says that "Each WKWebView instance has its own cookie storage. (WKHTTPCookieStore)".
So it looks to me as HTTPCookieStorage.shared instance and default() WKWebsiteDataStore aren't supposed to be connected in any way. But after some testing I see that it's not working as I expect it to. I'm loading webpage with WKWebView, and then i can see cookies from that page in my HTTPCookieStorage shared instance. Can someone explain to me why is that?
Under "Sharing Cookie Storage" section in HTTPCookieStorage's documentation it says that "Each WKWebView instance has its own cookie storage. (WKHTTPCookieStore)".
So it looks to me as HTTPCookieStorage.shared instance and default() WKWebsiteDataStore aren't supposed to be connected in any way. But after some testing I see that it's not working as I expect it to. I'm loading webpage with WKWebView, and then i can see cookies from that page in my HTTPCookieStorage shared instance. Can someone explain to me why is that?