Is it possible to get wifi signal strength in ios 9

10,684

Solution 1

Yes , it is possible in iOS 9.Look into NEHotspotNetwork

enter image description here

Solution 2

Register your app as Hotspot helper. (forums.developer.apple.com/message/30657#30657)

#import <NetworkExtension/NetworkExtension.h>

for(NEHotspotNetwork *hotspotNetwork in [NEHotspotHelper supportedNetworkInterfaces]) {
    NSString *ssid = hotspotNetwork.SSID;
    NSString *bssid = hotspotNetwork.BSSID;
    BOOL secure = hotspotNetwork.secure;
    BOOL autoJoined = hotspotNetwork.autoJoined;
    double signalStrength = hotspotNetwork.signalStrength;
}
Share:
10,684
Ganesh Ubale
Author by

Ganesh Ubale

Updated on July 19, 2022

Comments

  • Ganesh Ubale
    Ganesh Ubale almost 2 years

    I want to check WIFI signal strength to display some kind of message for weak WIFI signal.

    I fount that it is not possible in iOS 8 and older.

    Is it possible to get wifi signal strength in iOS 9? and if answer is yes then How?

  • Shane D
    Shane D about 7 years
    The signal strength returned is a percentage value between 0.0 to 1.0. How to efficiently convert this value to dBs or dBm?
  • Shane D
    Shane D about 7 years
    The signal strength returned is a percentage value between 0.0 to 1.0. How to efficiently convert this value to dBs or dBm?
  • user100
    user100 about 7 years
    Can we test signal strength of cellular network with NEHotspotNetwork if not please suggest how to check signal strength on cellular network. thanks
  • user100
    user100 about 7 years
    Can we test signal strength of cellular network with NEHotspotNetwork if not please suggest how to check signal strength on cellular network. thanks
  • Josiah Coad
    Josiah Coad almost 2 years
    First, register your app as Hotspot helper. (forums.developer.apple.com/message/30657#30657)