获取所有可用Wifi连接的列表,并选择一个连接到iOS 11中的应用程序内

时间:2017-10-02 11:21:30

标签: ios networking wifi

在iOS 11中,Apple添加了NEHotspotConfiguration和NEHotspotConfigurationManager

我正在尝试构建一个应用程序 - 其中:

  1. 用户打开应用
  2. 用户扫描可用的Wifi网络
  3. 用户选择连接网络
  4. 试过以下链接:

    https://developer.apple.com/documentation/networkextension/nehotspotconfiguration

    https://developer.apple.com/documentation/networkextension/nehotspotconfigurationmanager

1 个答案:

答案 0 :(得分:1)

这在iOS上是不可能的。您找到的API是用于与WiFi接入点交互的最强大的API

相关问题