CKSyncEngine.Event.AccountChange.ChangeType.signIn(currentUser:)
A change indicating a sign-in to an iCloud account.
Declaration
case signIn(currentUser: CKRecord.ID)Discussion
If your app has locally-stored data when CKSyncEngine notifies it about the device signing in to an iCloud account, perform one of the following actions:
Keep the local data separate from any remote data
Merge the local data with the account’s remote data
Delete the local data
Prompt the account’s owner to make the decision