ioswatchkitapple-watchwatchos-2

How to Test Scenario Where the Apple Watch Is Not Connected to an iPhone


I am developing a watchOS extension which uses WCSession to communicate with the iPhone. However, I do not own an Apple Watch and therefore have to rely on the Watch Simulator to test my code.

Is there a way to test the scenario where the Watch is disconnected from the phone in the Simulator?

If not, is there some documentation or a well-researched blog post that gives some insight into the behavior of WCSession in this case?


Solution

  • Quitting the iPhone simulator should let you approximate this scenario.