Is there a way using the iPhone SDK to get WiFi information? Things like Signal Strength, WiFi Channel and SSID are the main things I'm looking for.
Only interested in Wifi info, not cellular.
Tap Settings > Connections > Wi-Fi or Settings > Network & internet > Internet, then tap the gear to the right of your network. Tap QR code. If this is not an option, tap the Share button on the right (you may need to use your PIN or fingerprint to confirm it's you).
Log into you Apple developer account at https://developer.apple.com, and enable Access WiFi Information for the App ID. 2. Go to the Provisioning Profiles tab, and regenerate them. We need to regenerate the provisioning profile, as it becomes marked as Invalid.
According to this it's actually possible since iOS 4.1.
The function is called: CNCopyCurrentNetworkInfo()
Hope that helps.
Based on this bug report and this SO question, I'm guessing there's no supported way to do this atm.
EDIT: Chris mentioned WiFinder, which prompted me to do a little more digging. According to the WiFinder author's blog he used methods from the private Apple80211.framework. (The framework mentioned in the above linked SO question.) Apparently Apple will no longer allow these private API calls in apps, which is preventing him from updating WiFinder.
But, if you want to use them anyway, some kind folks have posted a list of discovered Apple80211 functions to google code.
It looks like Apple80211GetInfoCopy
might do the trick.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With