> On Feb 8, 2016, at 13:55, Alex Zavatone <z...@mac.com> wrote:
> 
> On iOS, we're running into particular issues with one user who puts his 
> device in Airplane mode overnight.
> 
> I'm using reachability classes to determine if we can reach our web services 
> IP and monitoring all reachability enums, but would be "really niceā„¢" is if 
> there is a published API to read the position of the Airplane Mode setting.
> 
> All my sniffing around tells me that there is no formal API for this.  Am I 
> correct in assuming that this is true?

I don't believe that there is. That said, it probably wouldn't help in this 
case. You can easily turn on Airplane Mode and then turn on WiFi and/or 
Bluetooth (i.e. you can still have a working internet connection even if 
Airplane Mode is on). As always, it is recommended to test for specific 
functionality (i.e. use reachability in this case) rather than reading settings 
and trying to interpret what each of their possible permutations actually means.


> Thanks in advance.
> 
> Alex Zavatone
> _______________________________________________
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
> 
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/cocoa-dev/clarkcox3%40gmail.com
> 
> This email sent to clarkc...@gmail.com


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

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

Reply via email to