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