I also encountered the same problem, the wifi interface name obtained through CNCopySupportedInterfaces and CNCopyCurrentNetworkInfo is en2.
I hope to judge whether the user is connected to the specified wifi by obtaining the connected SSID name.
How should I get the interface name corresponding to wifi?
Topic:
App & System Services
SubTopic:
Networking
Tags: