如何在iPhone中查看背景中的飞行模式? [英] How to check Airplane mode in background in iPhone?
本文介绍了如何在iPhone中查看背景中的飞行模式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的应用程序最适合Wifi,3G ..
现在我想要的是我想在后台检查飞机模式是否会随时开启我想弹出警告说飞行模式开启。
提前谢谢。
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.
推荐答案
你可以考虑不同的方法,检查您的移动网络可用性而不是飞行模式和显示通用警报例如,没有网络可用
。
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.
选中此链接 iphone-sdk - 测试 - 网络可达性
祝你好运
这篇关于如何在iPhone中查看背景中的飞行模式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文