How can I turn WiFi on and off programmatically and change network (WiFi) in the Mac SDK?
CoreWLAN Framework seems to fit your needs. There is even a sample code named CoreWLANWirelessManager
The CoreWLANWirelessManager application utilizes the CoreWLAN framework, which is the Objective-C public API for the Mac OS X IEEE 802.11 wireless interface. It gives developers an example of how to use the CoreWLAN API and exercises the functionality that the framework provides.This functionality includes scanning for networks, querying the wireless interface for static and dynamic parameters, toggling interface power, changing channels, association, and accessing the corresponding system configuration preferences for the given interface.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With