I have application which is working best with Wifi,3G..
Now what i want is i want to check in background if Airplane mode is going to be on at any moment and i want to popup alert saying "Airplane mode is On."
Thanks in advance.
Asked
Active
Viewed 1,169 times
2 Answers
2
You can think different approach, check your mobile Network availability rather than the Airplane mode and Show a Generic Alert There is no network Available
for example.
Check This link iphone-sdk-testing-network-reachability
Good luck
![](../../users/profiles/488434.webp)
Ahmad Kayyali
- 8,236
- 13
- 47
- 83
0
This is practically impossible unless the user does it within a 10 minute time frame of your application entering background mode.
![](../../users/profiles/455929.webp)
Sebastien Peek
- 2,468
- 2
- 21
- 32
-
Your best bet is to go with what AhmadTK has suggested. – Sebastien Peek Apr 28 '11 at 12:26