How can I determine the reachability in watchOS2?
If I import reachability.h, Xcode doesn't find the SystemConfiguration.h framework.
How can I determine the reachability in watchOS2?
If I import reachability.h, Xcode doesn't find the SystemConfiguration.h framework.
Looks like Apple removed SystemConfiguration
from the list of watchOS supported system frameworks: https://developer.apple.com/library/prerelease/watchos/documentation/General/Conceptual/AppleWatch2TransitionGuide/LeverageSystemTechnologies.html
It use to be there at the time of the WWDC Keynote announcement however I could not see the framework in early betas (there was also an empty API documentation page in the prerelease library) however they appear to have updated the site and removed it from the list.
I can only assume that this means you won't be able to detect the watches reachability status what is a pain because NSNetServiceBrowser
doesn't appear to work while my watch is connected to my phone (as the WiFi chip is powered down and network requests are handled over BLE via the phone instead).