Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Toggle Wifi On/Off using MobileWifi private framework

For a private project using the iPhone SDK (not for the app store), I would like to toggle wifi on & off. I've done something similar for Bluetooth, but can't find the required information for Wifi. I assume I need to use the MobileWifi framework. Can anyone give some directions and/or code? Most likely I expect I need a header file for the MobileWifi framework as well.

Note once again, this is not for the app store, as Apple will not allow apps that use private frameworks such as this.

like image 518
Ben Williams Avatar asked Nov 05 '22 13:11

Ben Williams


1 Answers

Apple is not exposing any public APIs for WiFi. You might not be able to do that.

like image 126
TommyG Avatar answered Nov 12 '22 19:11

TommyG