如何在 iOS 中测量 WiFi 信号强度

How to measure WiFi Signal strength in iOS

我想测量 iOS 中的 WIFI 信号强度。下面是期望

  1. 扫描获取Wifi列表
  2. 连接到 WiFi 并以 dBm 为单位测量 WIFI 信号强度。

任何人都可以帮助如何在 iOS 中执行此操作,因为 iOS API 中存在一些限制。

您可以通过 NEHotspotHelper 执行 #1。

这里是a thread where you can find more information, plus a sample github repo

您可以通过 NetworkExtension

执行#2

更多信息见

这两个都需要您申请的特殊权利。查看段落 at the start of the NEHotspotHelper documentation.