Turn Wifi on/off for iphone from an application

2019-04-30 00:08发布

问题:

I need to turn on or off the wifi in the iphone. Any ways of doing it? Or is it forbidden (private framework)

回答1:

All applications written with the public SDK are sandboxed. They only have access to the properties and data which Apple deems feasible to use within that sandbox. I am afraid Wi-fi doesn't come in the list

Pls take a look at this SO question iPhone Wi-Fi Manager SDK and this discussion



标签: iphone ios wifi