以编程方式控制iOS数据连接 [英] Programmatically Controlling an iOS data connection

查看:115
本文介绍了以编程方式控制iOS数据连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近被要求为客户创建一个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屋!

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