Apple Watch Discovery in iOS 8

I have some events that should only be triggered if the user has an Apple Watch. Is there a way to determine if a watch is paired? I'm not sure if I can use a common application group to detect the Apple Watch extension, or maybe I can use bluetooth?

0
source share
2 answers

The best thing you need to do is set BOOL to true in shared NSUserDefaults the first time you launch the Watch app, and then check this value in the iOS app. All testimonies on the Dev forums and publicly consisted in the fact that there is no way to programmatically find out if a couple was paired.

+2
source

Source: https://habr.com/ru/post/1584207/


All Articles