Ganesh Ubale
Ganesh Ubale

Reputation: 637

Is it possible to get wifi signal strength in ios 9

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?

Upvotes: 10

Views: 11719

Answers (3)

Pablo A.
Pablo A.

Reputation: 2052

It is, but you need permission from Apple. Once Apple allows you to use the HotspotHelper framework, you'll be able to create profiles with the hotspot helper entitlements. Check this post: How to get Wifi SSID in iOS9 after CaptiveNetwork is deprecated and calls for Wifi name are already blocked

Upvotes: 0

pkc
pkc

Reputation: 8516

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

Upvotes: 7

Teja Nandamuri
Teja Nandamuri

Reputation: 11201

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

enter image description here

Upvotes: 8

Related Questions