Global Variable

NSHTTPCookieManagerAcceptPolicyChangedNotification

A notification posted when the acceptance policy of the cookie storage has changed.

Declaration

const NSNotificationName NSHTTPCookieManagerAcceptPolicyChangedNotification;

Discussion

In macOS, cookies are shared among applications, meaning this notification can be received as a result of another application’s actions. Cookies are not shared among applications in iOS.

The notification’s object is the NSHTTPCookieStorage instance. This notification does not contain a userInfo dictionary.

See Also

Tracking Cookie Storage Changes

NSHTTPCookieManagerCookiesChangedNotification

A notification posted when the cookies stored in the cookie storage have changed.