Does the UUID change for some cases

I am using a UUID user device to get a unique device.

 NSString *currentUUIDString = [[[UIDevice currentDevice] identifierForVendor] UUIDString]; 

I know that the UUID will be changed if the application is uninstalled / reinstalled ( Apple document ).

But does the UUID change for the following cases?

  • If the application is updated. (Found the same question )
  • If the device OS version been updated.
  • If you back up and restore iCloud/iTunes .
  • If the device has been reset. (In this case, I think that the UUID Keychain store will not work. Key store and cleanup, I think.)

Edit:

No, this does not duplicate that the question is related to how to uniquely identify the device, and I already did it. I know that we can use the UUID to uniquely identify a device. But I am worried that the frequencies that the UUID can change, and if they are changed, then what are the scenarios in which it can be changed.

+6
source share

Source: https://habr.com/ru/post/989946/


All Articles