You can use the Apple Reachability code to find out if a user has network access when they open your application or the like.
However, you do not have notifications / triggers that your application can intercept / run the abbreviation code when the user enters or leaves airplane mode in the settings.
source share