在iPhone上,是否可以找出我们连接的WIFI网络? [英] On the iPhone, is it possible to find out which WIFI network we are connected to?

查看:171
本文介绍了在iPhone上,是否可以找出我们连接的WIFI网络?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果是,我们是否还可以获得有关网络配置的其他信息?

If yes, can we also get additional information about the network configuration?

执行此操作的一种有用方法是获取当前网络的SSID。是否有API可以做到这一点?

One useful way to do this could be getting the SSID of the current network. Is there an API to do that?

更新:我在这里发现了一个类似的问题:

Update: I found a similar question here:

iPhone SDK当前是否可以获取Wi-Fi SSID连接到?

推荐答案

(单独回答以保存历史记录等。)

(Separate answer to preserve history etc.)

看起来你可能无法确定你所连接的WLAN的SSID,至少在进入App Store的应用程序中是这样。 这些人使用私有API - Preferences.framework - 来获取详细信息WLAN(比如它隐藏了吗?这叫什么名字?等。)

It looks like you might not be able to determine the SSID of the WLAN to which you're connected, at least in an app that will go into the App Store. These people use a private API - Preferences.framework - to get to the details of the WLAN (like "is it hidden?" "What's the name?" etc.).

这篇关于在iPhone上,是否可以找出我们连接的WIFI网络?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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