5

Is there a way for my app to be notified when the device enters (and leaves) airplane mode?

cfischer
  • 24,452
  • 37
  • 131
  • 214
  • Please see: http://stackoverflow.com/questions/8264053/detect-if-iphone-is-in-airplane-mode/10588802#10588802 as well as http://stackoverflow.com/questions/13095109/reachability-airplane-mode-3g-vs-wifi#comment17796209_13095109 – C0D3 Oct 29 '12 at 14:15

1 Answers1

6

You can use Apple's Reachability code to see if a user has network access when they open your app or similar.

There is however no notification/trigger which your app can intercept/run arbitary code when a user enters or leaves airplane mode in the Settings.

Suhail Patel
  • 13,644
  • 2
  • 44
  • 49