我试图在一个项目中使用Apple802.11专用库来帮助检测该地区WiFi热点的SSID和信号强度。在其他线程中已经讨论过这一点,例如:
是的,我知道这不是“支持”的,需要私有的APP,而且我不能在应用程序商店提供这个应用程序。这是一个专用的应用程序,它只是为了帮助我们进行一些网络测试。
从我的研究看,有80211库的捆绑包就在/System/Library/SystemConfiguration/WiFiManager.bundle/WiFiManager in iOS4。
改为:/System/Library/SystemConfiguration/IPConfiguration.bundle/IPConfiguration in iOS5
我正在寻找在iOS 6.1中的位置(如果这有任何区别的话,我正在运行XCode 4)。当我试图运行以下代码时
libHandle = dlopen("/System/Library/SystemConfiguration/WiFiManager.bundle/WiFiManager", RTLD_LAZY);或
libHandle = dlopen("/System/Library/SystemConfiguration/IPConfiguration.bundle/IPConfiguration", RTLD_LAZY);我得到的图像没有找到错误,这使我相信,苹果再次移动这一点。
是否有人知道80211库现在在哪里,或者是否有其他方法获取WiFi详细信息(SSID和信号强度)?
谢谢瑞安Ryan@MassachusettsWebDesigns.com
发布于 2014-03-03 13:29:28
libHandle = dlopen("/System/Library/SystemConfiguration/IPConfiguration.bundle/IPConfiguration", RTLD_LAZY);`这种方法在我的越狱设备(版本iOS6.1)中很好。
https://stackoverflow.com/questions/17050361
复制相似问题