What is the most straightforward official apple API to test it out
See CNCopyCurrentNetworkInfo() (link) and NEHotspotNetwork.fetchCurrent() (link).
In particular, note the requirements listed in the first linked page. Have you confirmed at least one of them is satisfied? Usually this means the user needs to give authorization to access their location.
there is absence of a switch next to Access WiFi Information. Is it expected?
Yes. If an entitlement or capability is listed there, then you have it.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: