Type Property


Sent after the iCloud (“ubiquity”) identity has changed.


static let NSUbiquityIdentityDidChange: NSNotification.Name


The system generates this notification when the user logs into or out of an iCloud account or enables or disables the syncing of documents and data. This notification is your cue to update caches and any interface elements displaying iCloud–related content. For example, hide all references to iCloud files when the user logs out of iCloud.

When your app receives this notification, get the new token from the FileManager.URLRelationship property. The value of that token is nil if the user disabled iCloud or logged out. There is no userInfo dictionary.

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