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,189 times
0

dks1725
- 1,631
- 1
- 20
- 29
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

Ahmad Kayyali
- 8,233
- 13
- 49
- 83
0
This is practically impossible unless the user does it within a 10 minute time frame of your application entering background mode.

Sebastien Peek
- 2,528
- 2
- 23
- 32
-
Your best bet is to go with what AhmadTK has suggested. – Sebastien Peek Apr 28 '11 at 12:26