I am using user's device UUID
to get unique device.
NSString *currentUUIDString = [[[UIDevice currentDevice] identifierForVendor] UUIDString];
I know that UUID
getting changed if the app gets deleted/reinstalls (Apple document).
But Does UUID
getting changed for following cases?
- If app has been updated. (Found same question)
- If the device
OS version
has been upgraded. - If do
iCloud/iTunes
backup and restore. - If the device has been reset. (In this case, I think
UUID
Keychain
storage will not work. Keychain storage also getting cleared I guess.)
Edit:
No, This is not duplicate, that question is related to how to identify the device uniquely and I have already followed. I know that we can use UUID
to identify device uniquely. But my concern is what are the frequencies that UUID
might get changed and if changed then what are the scenarios in which it can be changed.