CocoaTouch/iOS中是否有API用于检测无线网络?我想编写一个应用程序,保存手机在给定时刻可以看到的网络列表。iOS API检测无线网络
回答
就我所知,您可以使用CNCopySupportedInterfaces
和CNCopyCurrentNetworkInfo
的CaptiveNetwork来获取有关当前连接的Wi-Fi的信息。你可以参考:How do I use CaptiveNetwork to get the current WiFi Hotspot Name for more information。
According to iPhone get a list of all SSIDs without private library:
Without the use of private library (Apple80211) you can only get the SSID of the network your device is currently connected to.
你可以看看iphone-wireless项目,如果你有兴趣Apple80211。有一个示例应用程序“Stumber”,它正是你想要的。但是你不能在你的应用程序,如果你想要发布到App Store的,因为它使用的是专用的API
没有一点给予一个API无法使用在苹果商店发布的应用程序.. – geekyaleks 2015-10-04 23:32:47
那么有一种叫做Cydia的东西,或者那个人想为自己构建特殊应用程序..:P @geekyaleks – mustafa96m 2015-10-06 14:39:57
- 1. iOS检测无网络连接
- 2. 不断检查无线网络变化
- 3. 检测尚未与无线网络建立连接的无线计算机
- 4. 检测连接到无线网络的手机 - C#
- 5. ios检测到无线变化
- 6. 网络API单元测试
- 7. 当连接到无线网络,但没有intenernet如何检测互联网连接:iOS的
- 8. 检测广域网无线电关闭
- 9. android GPRS检测网络?
- 10. 检测网络连接
- 11. Facebook网络钓鱼检测
- 12. cordova-plugin-network-information 1.3.0“网络信息”无法检测到应用程序在线
- 13. 模拟无线网络OMNet ++
- 14. windows移动无线网络
- 15. ubuntu:操纵无线网络
- 16. 无线网络c程序
- 17. 连接到无线网络
- 18. 无网络测量距离
- 19. 以编程方式检测iOS中的蜂窝网络类型
- 20. 将我的iOS应用程序检测为网络浏览器
- 21. 如何检测iOS中的WiFi网络变化
- 22. 如何从iOS中检测不安全的WiFi网络应用
- 23. 如何检测网络信号强度是iOS中
- 24. 强制Android使用无线网络,无网络
- 25. iOS网络API设计模式想法?
- 26. 蓝牙点对点网络API iOS
- 27. 任何方式来检测无线网络上的iPad或iPhone?你好?
- 28. Android - 检测用户已经离开网络无线范围并关闭WiFi
- 29. 网络语音API“检测已知单词”
- 30. 当设备连接到无线网络时,iOS发布通知
可能重复[在iPhone上,是有可能找到使用我们连接到哪个WIFI网络?](http://stackoverflow.com/questions/2637094/on-the-iphone-is-it-possible-to-find-out-which-wifi-network-we-are连接到) – 2010-10-20 20:57:24
另请参阅[iPhone SDK是否可以获取当前连接到的Wi-Fi SSID?](http://stackoverflow.com/questions/339089/can-the-iphone-sdk-obtain-the-wi -fi-ssid-currently-connected-to),[正在访问的当前网络](http://stackoverflow.com/questions/2643011/current-network-being-accessed),[如何枚举所有可用的Wi fi网络在范围?](http://stackoverflow.com/questions/3019336/how-to-enumerate-all-available-wifi-networks-at-range) – 2010-10-20 20:58:43