Check if iPhone is paired with apple watch?

后端 未结 3 2124
一生所求
一生所求 2020-12-29 07:49

In my app,

I need to find if my phone is paired with a apple watch and get some information about the paired watch like its name. I tried reading the documentation

3条回答
  •  攒了一身酷
    2020-12-29 08:20

    The best you can do is write to a shared NSUserDefaults value the first time the user opens your WK app, then check for that value in your iOS app. Beyond that there's no info you can get.

提交回复
热议问题