Contents

add(_:)

Adds an observer to the cookie store.

Declaration

func add(_ observer: any WKHTTPCookieStoreObserver)

Parameters

  • observer:

    The observer object to add. The cookie store doesn’t maintain a strong reference to the object you specify. You are responsible for removing your observer object before it becomes invalid.

See Also

Observing cookie store changes