简体   繁体   中英

How to identify all available wifi networks programmatically on iPhone?

I want to identify all the available wifi networks currently available. I am checking the file at path

/Library/Preferences/SystemConfiguration/com.apple.wifi.plist

But it gives all the networks to which iPhone has connected till date. It does not give currently available networks.

How to do it? It's ok even if it's a private API. I have to do it anyhow.

There is no way you can access the available wifi's ssid in your iPhone app currently. I tried with some API but Apple rejected the App saying its a private API. I also sent my query to Apple Developer support and they replied saying this is not possible in current iOS version.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM