Global Variable


Posted when user defaults are changed within the current process.


const NSNotificationName NSUserDefaultsDidChangeNotification;


This notification is posted on the thread that changes the user defaults. The notification object is the NSUserDefaults object. The notification doesn't contain a userInfo dictionary.

This notification isn't posted when changes are made outside the current process, or when ubiquitous defaults change. You can use key-value observing to register observers for specific keys of interest in order to be notified of all updates, regardless of whether changes are made within or outside the current process.

See Also



Posted when more data is stored in user defaults than is allowed.


Posted when ubiquitous defaults finish downloading data, either the first time a device is connected to an iCloud account or when a user switches their primary iCloud account.


Posted when the user changes the primary iCloud account.


Posted when a cloud default is set, but no iCloud user is logged in.