A notification posted when the acceptance policy of the cookie storage has changed.
SDKs
- iOS 2.0+
- macOS 10.2+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Foundation
Declaration
const NSNotification Name 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 NSHTTPCookie
instance. This notification does not contain a user
dictionary.