objective c - get ssid from access point in ios -
I want to receive some non-alerts from access points like MAC Address (BScID). I try this code, but when I connect to a network, it only works.
- (ID) fetchSSIDInfo {NSArray * ifs = (id) CNCopySupportedInterfaces (); NSLog (@ "% s: Supported Interfaces:% @", __func__, ifs); ID information = zero; (NSString * ifnam in ifs) {info = (id) CNCopyCurrentNetworkInfo ((CFStringRef) ifnam); NSLog (@ "% s:% @ = & gt;% @", __func__, ifnam, info); If (information and amp; info]] {break;} [information released];} [ifs release]; return [information autorelease];} despite being connected How can I get a BCID ID from the espresso number, is it possible?
And the answer is no.
You can only get the connection data. You can use some private libraries, however It will not be approved by Apple.
Comments
Post a Comment