-1

I'm working on an app that has a code authentication, in order to do that I have to know what device has activated the code. Is there a unique ID or something like that, that does not change even if the app gets reinstalled?

1 Answers1

-1

You can use the identifierforvendor for this

UIDevice.current.identifierForVendor!.uuidString
stevenpcurtis
  • 1,907
  • 3
  • 21
  • 47