I want to get Apple Watch unique id or UDID. Is there anything available like UDID or unique identifier?
How to get Apple Watch Unique id or UDID programmatically?
Add a Comment
I want to get Apple Watch unique id or UDID. Is there anything available like UDID or unique identifier?
Ray Wenderlich's site has a tutorial called "How to Install iOS 9 and watchOS 2" and it has a "Using Xcode to Get Your Device’s UUID" section.
Not programmatically, no.
There is an equivalent for identifierForVendor in watchOS that can be used to generate a unique ID.
if let uuid = WKInterfaceDevice.current().identifierForVendor?.uuidString {
print("UUID is",uuid)
}