Is it possible to get a notification in iOS before the user puts their device into airplane mode?
A client I am working for has a need for an app that stays in touch with a remote server while it's running. We need to be able to notify the server if the user has asked to turn off networking.
Thus we need a notification BEFORE the network connection is actually shut down so we can send a notice to the server "going 'radio silent`!"
The only API I'm aware of is reachability, which you have to poll, and would let us figure out that the user has put their device into airplane mode after it is too late to send a message out.