Post not yet marked as solved
Click to stop watching this thread.
You have stopped watching this post. Click to start watching again.
Post marked as unsolved with 2 replies, 0 views
Replied In
CNCopySupportedInterfaces() returns NULL
Found this in the <NetworkExtension/NEHotspotNetwork.h> header:
@method fetchCurrentWithCompletionHandler:completionHandler:
@discussion This method returns SSID and BSSID of the current Wi-Fi network when the requesting application meets one of following 4 requirements:
1. application is using CoreLocation API and has user's authorization to access precise location.
2. application has used NEHotspotConfiguration API to configure the current Wi-Fi network.
3. application has active VPN configurations installed.
4. application has active NEDNSSettingsManager configuration installed.
- - -
So be it... But you'd think there'd be a simpler way just to get the SSID string!