简体   繁体   English

计算每个应用程序的蜂窝数据使用量

[英]Calculate cellular data usage per application

如何获取单个iOS应用程序的数据消耗(即,如果设备有10个应用程序消耗数据,我想知道每个应用程序消耗多少数据)

Short answer: you can't. 简短的答案:您不能。

Long answer: all iOS applications are executed in a sandboxed environment, limiting the access that you have to data from another applications to avoid malicious behavior. 长答案:所有iOS应用程序都在沙盒环境中执行,从而限制了您对其他应用程序数据的访问权限,从而避免了恶意行为。 The only way that you could obtain this information is if iOS had a public API that provided that information (it doesn't) or if the other applications published their information somewhere reachable from your application. 获取此信息的唯一方法是,如果iOS具有提供该信息的公共API(没有提供),或者其他应用程序将其信息发布到了您的应用程序可以访问的某个地方。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM