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,459
  • 3
  • 32
  • 39
vishnuvarthan
  • 492
  • 1
  • 6
  • 23

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,350
  • 38
  • 53
  • 109
0

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

Shobhakar Tiwari
  • 7,862
  • 4
  • 36
  • 71