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

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

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

asp.net mvc - breakpoint on javascript in CSHTML? -