How to show "Turn off Airplane Mode..." network dialog?
When the user turns Airplane Mode on, several of the builtin applications (Stocks, Safari, Weather) display a dialog that says "Turn off Airplane Mode or use Wi-Fi to access data". This dialog has two buttons: OK and Settings (which allows the user to jump straight to Settings).
Does anyone know how to display this same dialog from our applications?
Re: How to show "Turn off Airplane Mode..." network dialog?
Quote:
Originally Posted by javid.alimohideen
My wild guess is this would be triggered automatically by the OS, hopefully.
Yeah I would have expected that too-- unfortunately, it is not. The first notice your app gets that the network isn't available is a simple NSError-- and then I guess it's up to you to display the appropriate error dialog.
Hi
I am also looking for this, whether we can switch Off/ON airplane mode from the application. Or whether we can monitor the status of Airplane mode.
Vishal N
Did you find out how to do this? I am guessing the airplane mode, bluetooth, wifi, etc settings are private APIs.
Can anyone confirm this? Even if they are private, if anyone knows and would like to share that would be awesome? I would love to make a quick and dirty app to control these basic settings so I don't have to cycle through 3 screens to toggle bluetooth.
Did you find out how to do this? I am guessing the airplane mode, bluetooth, wifi, etc settings are private APIs.
Can anyone confirm this? Even if they are private, if anyone knows and would like to share that would be awesome? I would love to make a quick and dirty app to control these basic settings so I don't have to cycle through 3 screens to toggle bluetooth.
Hi,
Yes these are private framework's API and I don't know those.