Global Variable

NSUbiquitousUserDefaultsDidChangeAccountsNotification

Posted when the user changes the primary iCloud account.

Declaration

const NSNotificationName NSUbiquitousUserDefaultsDidChangeAccountsNotification;

Discussion

This notification is posted to the default notification center on the main queue.The keys and values in the local key-value store are replaced with those from the new account, regardless of the relative timestamps.

See Also

Notifications

NSUserDefaultsDidChangeNotification

Posted when user defaults are changed within the current process.

NSUserDefaultsSizeLimitExceededNotification

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

NSUbiquitousUserDefaultsCompletedInitialSyncNotification

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.

NSUbiquitousUserDefaultsNoCloudAccountNotification

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