Search code examples
ioscocoa-touchwatchkit

Detect WatchKit extension presence in app


I have an app that I want to behave a bit differently when it comes to updates and caching if a WatchKit extension is installed on your paired Apple Watch than if it is not. If the watchkit extension has any chance of launching (you have paired a watch and the app is installed) then I want to do more heavy caching.

Is there any way I can detect whether an Apple WatchKit Extension is installed on the Apple Watch from my iOS app? Other than setting a flag first time it is launched and hope it isn't deleted thereafter?

Cheers

Nik


Solution

  • I'll reiterate the answer I gave here. There's no way to detect whether or not a Watch has been paired with the phone programmatically.