ios - Identify Apple Watch Name -
is there way identify name
- of current paired watch ios
- of watch watch app running on?
uidevice on ios seems not offer access paired watch. wcsession on watchos not giving such information either. framework think of?
purpose: user having multiple paired watches , need distinguish device data coming from.
the name of current watch app running on can accessed through wkinterfacedevice
class:
[[wkinterfacedevice currentdevice] name]
although distinguishing 1 other using method relies on renaming watch in phone's ui.
because name of watch isn't surfaced anywhere (bluetooth possibly?) it's renaming may low-probability event.
Comments
Post a Comment