如何通过Objective-C判断iPhone是否连接到wifi网络? [英] How to tell with Objective-C if the iPhone is connected to a wifi network?
本文介绍了如何通过Objective-C判断iPhone是否连接到wifi网络?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在Objective-C,iPhone应用程序的上下文中,我需要能够判断iPhone是否连接到wifi网络,并且如果可能的话,请听取此状态的更改。
In the context of an Objective-C, iPhone application, I need to be able to tell whether the iPhone is connected to a wifi network, and if possible listen to changes in this state.
有谁知道怎么做?
谢谢,
gabouy
thanks, gabouy
推荐答案
查看可达性样本。
这篇关于如何通过Objective-C判断iPhone是否连接到wifi网络?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文