Turn Wifi on/off for iphone from an application

隐身守侯 提交于 2019-12-22 06:57:36

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!