Monday, October 23, 2023
HomeiOS Developmentios - NEHotspotNetwork.fetchCurrent is giving all Community not safe

ios – NEHotspotNetwork.fetchCurrent is giving all Community not safe


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.



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments