Post

Replies

Boosts

Views

Activity

Cookies not visible in WKWebView on iOS 16 Simulators
We are injecting cookies using a nonPersistent() data store before creating the WKWebView (on completion). This works fine on prior versions (and I know Xcode 14 is in beta) but is no longer working in Xcode 14 / iOS 16 simulators and I see no posts, bugs raised or release notes for this so I'm raising it here to see if anyone else is experiencing this? I can see that the cookies are present in the WKHTTPCookieStore accessed via webView.configuration.websiteDataStore.httpCookieStore.getAllCookies. But both Safari debugging and our JS code embedded on the site can see no cookies.
3
3
2.1k
Jul ’22