user2343049
user2343049

Reputation: 1

How to get unqiue id for every device not for every app?

I want to know one unique id per device but not for per app in one device. I am building one framework where I want to use this device id.

Upvotes: 0

Views: 148

Answers (2)

GeneCode
GeneCode

Reputation: 7588

Just create a unique number by yourself and then store it in the device keychain.

Upvotes: 0

Akila Dilshan
Akila Dilshan

Reputation: 61

get UUID from the iOS device and send it to the server

let uuid = NSUUID().UUIDString.lowercaseString
print(uuid)

Hope this helps !!!

Upvotes: 1

Related Questions