1

I know this is a duplicate of many similar questions.But none of them were clear they where not giving proper solutions.My question is how to get WiFi signal strength in iOS devices?. I know it has done using Private API's but I don't know how to use?. Please can anyone help me please?

user3182143
  • 9,165
  • 3
  • 28
  • 36
vishnuvarthan
  • 492
  • 1
  • 6
  • 22

2 Answers2

1

For ios9+

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;
}

Reference:- https://stackoverflow.com/a/32971064/988169

Community
  • 1
  • 1
pkc456
  • 8,256
  • 34
  • 50
  • 104
0

Apple restrict (wireless private api) to use private api to find the strenth of wifi .

Shobhakar Tiwari
  • 7,520
  • 4
  • 35
  • 67