iOS API detect wireless networks
Asked Answered
R

2

19

Is there an API in CocoaTouch/iOS for detecting wireless networks? I want to write an app that saves a list of networks the phone can see at a given moment.

Refrigerate answered 20/10, 2010 at 11:29 Comment(3)
O
4

As far as I know you can get the information about the current connected Wi-Fi using CNCopySupportedInterfaces and CNCopyCurrentNetworkInfo of CaptiveNetwork. You can refer to: How do I use CaptiveNetwork to get the current WiFi Hotspot Name for more information.

According to iPhone get a list of all SSIDs without private library:

Without the use of private library (Apple80211) you can only get the SSID of the network your device is currently connected to.

You could have a look at iphone-wireless project if you are interested in Apple80211. There exists a sample app "Stumber" which does exactly what you want. But you cannot use this in your app if you want to publish to App Store because as it uses private APIs

Os answered 1/4, 2014 at 13:52 Comment(0)
V
0

Check out this https://github.com/mustafa96m/iOS-Wireless-Scanner-API Hopefully it helps

Vermicide answered 21/7, 2014 at 10:11 Comment(1)
Well there is something called Cydia or the guy wants to build special application for himself .. :P @geekyaleksVermicide

© 2022 - 2024 — McMap. All rights reserved.