> On Apr 28, 2015, at 2:49 PM, Jens Alfke <j...@mooseyard.com> wrote:
> 
> I haven’t yet had a chance to try this with a real device.

It seems to work correctly on a real device (iPhone 6+, iOS 8.3) although I 
can’t see the reachability changes in real time since I have to suspend the app 
to go to Settings to toggle Airplane Mode. But as expected, after I go offline 
and return to the app the reachability flags change to 0, and when I go back 
online they change to 2.

In a Mac app it works too; when I disable WiFi the state goes to 7 not 0, which 
is a little weird because I don't have a VPN configured, but my code interprets 
7 as being offline so it doesn’t cause problems.

Should I file a Radar about the incorrect flags in the simulator?

—Jens
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (Macnetworkprog@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/macnetworkprog/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to