Sent after the iCloud (“ubiquity”) identity has changed.
- iOS 6.0+
- macOS 10.8+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
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
NSURLRelationship property. The value of that token is
nil if the user disabled iCloud or logged out. There is no