ios - Is there any chance I can detect the Wifi band connected with my iPhone, like 802.11ac, in Objective-C? -


forget grammar rules in question since english not mother tongue;

i want detect current wifi hotspot, if in 2.4ghz or 5ghz in ios environment,anyone got idea or possibility? here code below:

 nsstring *wifiname = nil; cfarrayref myarray = cncopysupportedinterfaces(); if (myarray != nil) {     cfdictionaryref mydict = cncopycurrentnetworkinfo(cfarraygetvalueatindex(myarray, 0));     if (mydict != nil) {         nsdictionary *dict = (nsdictionary*)cfbridgingrelease(mydict);         wifiname = [dict valueforkey:@"ssid"];     } } return wifiname; 

as know cant native apis. there private api stumbler working wifi in more advanced way.

[warning]: if use private apis not able distribute app through appstore.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -