Can anyone explain why I need to provide location service capabilities to get BSSID info for the Wi-Fi network device?
Here some notes from CWNetwork header
language
/*! @property
@abstract
Returns the basic service set identifier (BSSID) for the Wi-Fi network device, returned as UTF-8 string.
@discussion
Returns a UTF-8 string using hexadecimal characters formatted as XX:XX:XX:XX:XX:XX.
@note
BSSID information is not available unless Location Services is enabled and the user has authorized the calling app to use location services.
@seealso
CLLocationManager
/
@property(readonly, nullable) NSString *bssid NS_AVAILABLE_MAC(10_6);
Topic:
App & System Services
SubTopic:
Maps & Location
Tags:
Core Location
Maps and Location
Core WLAN
Privacy