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

Popular posts from this blog

php - Passing multiple values in a url using checkbox -

compilation - PHP install fails on Ubuntu 14 (make: *** [sapi/cli/php] Error 1) PHP 5.6.20 -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -