通过SDK访问iPhone WiFi信息 [英] Accessing iPhone WiFi Information via SDK

查看:150
本文介绍了通过SDK访问iPhone WiFi信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法使用iPhone SDK来获取WiFi信息?

Is there a way using the iPhone SDK to get WiFi information? Things like Signal Strength, WiFi Channel and SSID are the main things I'm looking for.

只对WiFi信息感兴趣,而不是移动电话。

Only interested in Wifi info, not cellular.

推荐答案

根据错误报告和 SO问题,我想没有支持的方式来做这个atm。

Based on this bug report and this SO question, I'm guessing there's no supported way to do this atm.

编辑:Chris提到WiFinder,这促使我做一点挖。根据WiFinder作者的博客他使用的方法从私人Apple80211.framework。 (上面链接的SO问题中提到的框架。)显然苹果不再允许在应用程序中的这些私人API调用,这阻止他更新WiFinder。

Chris mentioned WiFinder, which prompted me to do a little more digging. According to the WiFinder author's blog he used methods from the private Apple80211.framework. (The framework mentioned in the above linked SO question.) Apparently Apple will no longer allow these private API calls in apps, which is preventing him from updating WiFinder.

如果你想要使用它们,有些人已经发布了一个发现的Apple80211函数的列表到 google代码

But, if you want to use them anyway, some kind folks have posted a list of discovered Apple80211 functions to google code.

它看起来像 Apple80211GetInfoCopy 可能会有所帮助。

It looks like Apple80211GetInfoCopy might do the trick.

这篇关于通过SDK访问iPhone WiFi信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆