Unable to obtain WiFi network BSSID since iOS 9 beta 4

Originator:matthias.schwab
Number:rdar://22006095 Date Originated:2015-07-27
Status:Open Resolved:
Product:iOS Product Version:9.0 (13A4305g)
Classification:Enhancement Reproducible:Always
 
Summary:
Our app is relying on the BSSID of a WiFi network the iPhone is connected to detect a specific use case and to detect whether the WiFi network has changed. To obtain the BSSID, we use CNCopyCurrentNetworkInfo(), which used to return a CFDictionary containing information about the network. Since iOS 9 beta 4 however, this call always returns nil.

Steps to Reproduce:
NSArray *ifs = (id)CNCopySupportedInterfaces();
for (NSString *ifnam in ifs) {
  id info = (id)CNCopyCurrentNetworkInfo((CFStringRef)ifnam);
  NSLog(info);
}

Expected Results:
Dictionary containing network information.

Actual Results:
nil value

Version:
9.0 (13A4305g)

Notes:


Configuration:
iPhone 6 

Attachments:

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!