iPhone SDK可以获取当前连接的Wi-Fi SSID吗? [英] Can the iPhone SDK obtain the Wi-Fi SSID currently connected to?

查看:118
本文介绍了iPhone SDK可以获取当前连接的Wi-Fi SSID吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在iPhone SDK中,我没有看到在Mac OS X上使用相同的 SCDynamicStore 来获取您的无线网络当前连接的SSID名称不可用。

In the iPhone SDK I don't see the same SCDynamicStore used on Mac OS X to get the SSID name that your wireless network is currently connected to isn't available.

有没有办法获得iPhone当前连接的SSID名称?

Is there a way to get the SSID name that the iPhone is currently connected to?

我看到一些应用程序这样做了(用于AT& T的简易Wi-Fi )但我无法在iPhone SDK文档中找到它是如何完成的。私有或取消发布的方法可以作为概念证明(虽然我知道可能不会进入AppStore)。

I see some apps do it (Easy Wi-Fi for AT&T for one) but I can't find how it's done in the iPhone SDK docs. A private or unpublish method would be acceptable just as a proof of concept (although I know that likely wouldn't make it to the AppStore).

推荐答案

现在可以通过强制网络API

参见如何在这个类似的问题上使用它的一个例子

这不是私人的API。

这篇关于iPhone SDK可以获取当前连接的Wi-Fi SSID吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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