I'd like to create an app that uses coredata linked to the contact identifier to extend my contact information, but will iTunes maintain the identifier after backup and restoration to other devices?
I would appreciate it if you could tell me how to link it if it is not maintained.
Nice to meet you
Assume that you are asking about the CNContact identifier in the Contacts Framework.
I couldn't find any information from Apple's documentation when I restored it on another device, so I actually tried it in my environment.
Backup with iTunes and restore to the same terminal
identifier does not change
Backup with iTunes and restore to a different terminal
identifier does not change
Synchronized with a different terminal via iCloud
identifier is now a different value
If you back up on iTunes and restore it to the same terminal
Identifier does not change
If you back up on iTunes and restore it to a different terminal
Identifier does not change
Synchronize with a different device via iCloud
identifier is now a different value
For the time being, as long as you back up and restore on iTunes, the identifier will not change.However, Apple doesn't guarantee that it won't change, so you should think about the emergency.
© 2024 OneMinuteCode. All rights reserved.