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      (Macnetworkprog@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/macnetworkprog/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to