How do i find out the Wifi signal strengths(RSSI) in iOS8 ?
I know that Apple restricts apps from accessing the Wi-Fi data/API directly and will not be accepted in AppStore. I found a private API called Stumbler which is supposed to be doing the same. Here is the link to it. Accessing & Using the MobileWiFi.framework
networks = [[NSMutableDictionary alloc] init];
void* library = dlopen("/System/Library/SystemConfiguration/IPConfiguration.bundle/IPConfiguration", RTLD_LAZY);
int (*apple80211Open)(void*) = (int(*)(void*))dlsym(library, "Apple80211Open");
int (*apple80211Bind)(void*, NSString*) = (int(*)(void*, NSString*))dlsym(library, "Apple80211BindToInterface");
apple80211Close = (int(*)(void*))dlsym(library, "Apple80211Close");
apple80211Scan= (int(*)(void*, NSArray**, void*))dlsym(library, "Apple80211Scan");
void *airport = NULL;
apple80211Open(&airport);
apple80211Bind(airport, @"en0");
NSArray* arrNetworks = nil;
apple80211Scan(airport, &arrNetworks, (__bridge void *)(networks));
//"networks" is an array of NSDictionary objects for all the visible Wi-Fi networks
apple80211Close(airport);
dlclose(library);
Somehow this is not working in iOS8. Anyone has any idea how to get this working?? Thanks for the help !!