• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: An API for Airplane mode on iOS?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: An API for Airplane mode on iOS?


  • Subject: Re: An API for Airplane mode on iOS?
  • From: "Glenn L. Austin" <email@hidden>
  • Date: Mon, 08 Feb 2016 21:45:20 -0800

According to the docs on Reachability (possibly lost in the mists of time...), Reachability isn't really designed to tell you whether your net access *will* succeed, but to give you reasons that your last access *failed.*

Yes, I was surprised too, but after adding an initial access to prime the network state (HEAD request to a designated "always up" URL), we got most of the behavior we needed.

> On Feb 8, 2016, at 1:55 PM, Alex Zavatone <email@hidden> 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?
>
> Thanks in advance.
>
> Alex Zavatone
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> 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:
>
> This email sent to email@hidden


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden


  • Follow-Ups:
    • Re: An API for Airplane mode on iOS?
      • From: Jens Alfke <email@hidden>
References: 
 >An API for Airplane mode on iOS? (From: Alex Zavatone <email@hidden>)

  • Prev by Date: Hierarchical split views and auto layout
  • Next by Date: Re: Hierarchical split views and auto layout
  • Previous by thread: Re: An API for Airplane mode on iOS?
  • Next by thread: Re: An API for Airplane mode on iOS?
  • Index(es):
    • Date
    • Thread