cookiesDidChange(in:)
Tells the delegate that the cookies in the specified cookie store changed.
Declaration
optional func cookiesDidChange(in cookieStore: WKHTTPCookieStore)Parameters
- cookieStore:
The cookie store that contains the modified cookies.
Discussion
When the value of a cookie changes, the cookie store calls this method on all registered observer objects. Use this method to fetch the new cookie values and update any app-specific data structures or JavaScript environment variables that use those values.