Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 418
fabian789 Avatar asked Dec 25 '15 17:12

fabian789


People also ask

How do I know if my Apple Watch is disconnected from my iPhone?

Check your Apple Watch connection You can also check your connection in Control Center. When your Apple Watch connects again, the green iPhone icon appears. First, bring your Apple Watch and paired iPhone close together. If you still see that the devices are disconnected and need help, try the steps below.

What happens when Apple Watch is not connected to iPhone?

Press and hold the Digital Crown until you see the red Reset button. Tap Reset, then tap Reset again to confirm. After Apple Watch unpairs completely, you can pair again. Remember that you'll need the Apple ID and password that were used to set up the watch.

Can Apple Watch work without connecting to iPhone?

When your iPhone is off or out of range, your Apple Watch can use a Wi-Fi network to send and receive data. Your watch can also connect to a cellular network if it's a cellular model. And if you've set up an Apple Watch for a family member, they can use a cellular or Wi-Fi connection with their watch.

Is Apple Watch unpaired without iPhone?

If you need to erase and unpair your Apple Watch without your iPhone, you can log on to icloud.com and remove your Apple Watch under Settings → My Devices.


2 Answers

Quitting the iPhone simulator should let you approximate this scenario.

like image 157
ccjensen Avatar answered Oct 21 '22 11:10

ccjensen


I dont think so its possible because Apple doc says,

Additionally, WatchKit apps have a reliable connection to the simulated host device because they both are running in the Simulator.

Apple mentioned this in Hardware Difference section of Simulator User Guide

like image 27
Nilesh Patel Avatar answered Oct 21 '22 11:10

Nilesh Patel