I need to turn on or off the wifi in the iphone. Any ways开发者_如何学编程 of doing it? Or is it forbidden (private framework)
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
精彩评论