Contents

WKHTTPCookieStoreObserver

The methods to adopt in an object that monitors changes to a webpage’s cookies.

Declaration

@MainActor protocol WKHTTPCookieStoreObserver : NSObjectProtocol

Overview

Adopt the methods of the WKHTTPCookieStoreObserver protocol to track changes to cookies associated with a webpage. To observe the actual cookie changes, call the add(_:) method of the WKHTTPCookieStore you use to manage cookies. When a cookie changes, the cookie store notifies all observers of the changes.

Topics

Responding to Cookie Changes

See Also

Observing cookie store changes