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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software