I am making an attempt to fetch present related community (WiFi or hotspot or MobileNetwork). I am utilizing the under code snippet
NEHotspotNetwork.fetchCurrent { hotspotNetwork in
print("Community Info")
print(hotspotNetwork?.ssid)
print(hotspotNetwork?.isSecure ?? true)
print(hotspotNetwork?.bssid)
print(hotspotNetwork?.securityType)
print(hotspotNetwork?.signalStrength)
I will get the wi fi particulars. however one factor I seen that it’s giving each community as a UnSecure community whether or not it’s password protected or not.How can we differentiate safe community and Unsecure community. Can anybody assist me upstanding this. Thanks prematurely.