Obtaining SSID string in iOS 9
Obtaining SSID string in iOS 9
- Subject: Obtaining SSID string in iOS 9
- From: Carl Hoefs <email@hidden>
- Date: Thu, 12 Nov 2015 12:04:45 -0700
I have an in-house iPhone app that displays the SSID of the connected WiFi ad-hoc network on the UI.
I've been using these simple steps to get a network info dictionary:
CNCopySupportedInterfaces()
CFArrayGetValueAtIndex()
CNCopyCurrentNetworkInfo()
In iOS 9, the above has been deprecated in favor the new NEHotspotHelper class. My app doesn't want/need to be a 'hotspot helper', I just would like to obtain the current network's SSID string, if any. Using NEHotspotHelper seems like tremendous overkill (plus having to register the app as a 'hotspot helper') just to do this. Is there a simpler way?
-Carl
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden