Reputation: 24902
Is there a way for my app to be notified when the device enters (and leaves) airplane mode?
Upvotes: 5
Views: 1447
Reputation: 13694
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.
Upvotes: 6