How to keep track of the network traffic on 3G/wifi on an iOS device? [duplicate]

扶醉桌前 提交于 2019-12-04 09:08:09

问题


I am trying to understand how does an app like DataMan work. Even if it runs on the background, how can it measure the bandwidth allocation of the other apps?


回答1:


Most apps like that inject a proxy to all your data calls. Through that they measure the amount of bandwidth you are consuming.

There is no way to measure data you are using outside of your app. You can track it for your own network call within your app though.



来源:https://stackoverflow.com/questions/4375441/how-to-keep-track-of-the-network-traffic-on-3g-wifi-on-an-ios-device

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