问题
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
来源:https://stackoverflow.com/questions/5963880/turn-wifi-on-off-for-iphone-from-an-application