从应用程序打开/关闭iPhone的Wifi [英] Turn Wifi on/off for iphone from an application

查看:111
本文介绍了从应用程序打开/关闭iPhone的Wifi的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要打开或关闭iPhone中的wifi.有什么办法吗?还是被禁止(私有框架)

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

推荐答案

使用公共SDK编写的所有应用程序都经过沙箱处理.他们只能访问Apple认为可以在该沙箱中使用的属性和数据.恐怕Wi-fi不在列表中

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

请看一下这样的问题 iPhone Wi-Fi管理器SDK 和此讨论

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

这篇关于从应用程序打开/关闭iPhone的Wifi的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆