Type Property

NSUbiquityIdentityDidChange

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

Declaration

static let NSUbiquityIdentityDidChange: NSNotification.Name

Discussion

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 has disabled iCloud. There is no userInfo dictionary.