I've been searching for a solution to a problem similar to this one:

iPhone get a list of all SSIDs without private library

So apparently you can't get the SSID of a network you're not connected to without using a private library. I was wondering if it's possible to do it the other way around. So if I know the SSID of a particular network, can I check if it's available/in range without actually connecting to it?

有帮助吗?

解决方案

Nothing has really changed on this in the last year since the previous answer you've found. I work on the Enterprise side of the fence so I luckily don't have to worry about private APIs affecting my apps. It all boils down to Apple not wanting to allow developers to do sleeve things behind the end-users' backs.

To answer your question directly, no, you can't programmatically determine WiFi networks in range without the use of Private APIs. Sorry.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top