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.
相关问题
- CALayer - backgroundColor flipped?
- Core Data lightweight migration crashes after App
- How can I implement password recovery in an iPhone
- how do you prevent page scroll in textarea on mobi
- Custom UITableview cell accessibility not working
相关文章
- Could I create “Call” button in HTML 5 IPhone appl
- Unable to process app at this time due to a genera
- How do you detect key up / key down events from a
- “Storyboard.storyboard” could not be opened
- Open iOS 11 Files app via URL Scheme or some other
- Can keyboard of type UIKeyboardTypeNamePhonePad be
- Can not export audiofiles via “open in:” from Voic
- XCode 4.5 giving me “SenTestingKit/SenTestKit.h” f
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
This is practically impossible unless the user does it within a 10 minute time frame of your application entering background mode.