以编程方式控制iOS数据连接 [英] Programmatically Controlling an iOS data connection
问题描述
我最近被要求为客户创建一个iOS应用程序,该应用程序控制所有其他已安装应用程序对蜂窝数据的访问。例如,用户可以关闭除Safari之外的所有应用程序的蜂窝数据访问。
I was recently asked to create an iOS app for a client which controls all other installed apps' access to cellular data. For instance, the user would be able to turn off cellular data access to all apps but Safari.
我认为这不可能因为沙盒而是无法通过谷歌或开发者的文档找到任何相关信息,所以我想在这里问一个问题 - 我应该调查一个特定的类或框架吗?
I assumed that this wouldn't be possible because of sand-boxing but couldn't find any relevant info via Google or the developer's docs, so thought I'd ask the question here - is there a specific class or framework I should investigate?
推荐答案
不,你不能,Apple不允许这样的方法。所以没有任何帮助类或框架。
No you can't , Apple does not allow such approaches . So there is no helping class or framework at all.
这篇关于以编程方式控制iOS数据连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!