Can i get any unique identifier number from apple watch?

527 Views Asked by At

I am creating a watch application which is a standalone app. I need to generate QR code from any unique ID but I did not get from apple watch. is there any solution for get or generate Unique ID from apple watch?

2

There are 2 best solutions below

2
On

To grab the watch device’s uid (vendor specific)

WKInterfaceDevice.current().identifierForVendor
2
On

Try to generate UniqueId with current TimeStamp Value, It will be always unique