如何做的DataMan iPhone应用程序在后台运行, [英] how does DataMan iPhone App work in the background

查看:182
本文介绍了如何做的DataMan iPhone应用程序在后台运行,的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在AppStore上(的DataMan精简版的应用程序的免费版本)的应用程序的DataMan有助于监控您的数据使用量。 <一href=\"http://www.iphonelife.com/blog/2686/monitor-your-data-usage-dataman\">http://www.iphonelife.com/blog/2686/monitor-your-data-usage-dataman

The DataMan app on the AppStore (DataMan Lite a free version of the App) helps to Monitor your Data Usage. http://www.iphonelife.com/blog/2686/monitor-your-data-usage-dataman

可有人请详细说明在后台运行,而数据的使用如何被监控。

Can someone please elaborate how data usage can be monitored while running in the background.

推荐答案

其实这种应用程序确实没有什么背景。由于在苹果开发者参考,每个应用程序进入休眠模式,当用户preSS home键(除了像VoIP或GPS感知或等一些应用程序)监测数据流量一些API函数被调用。这些功能,即使返​​回流量数据统计时,你的应用程序被终止或暂停模式。那么你可以分析并计算任何你想要的。

Actually this kind of applications does nothing in background. As in the apple developers reference, every application goes to suspend mode when the user press the home button (except for some applications like voip or gps-aware or etc.) To monitor data traffic some api functions should be called. These functions return the traffic data statistics even when your application is terminated or in suspend mode. then you may analyze and calculate whatever you want.

有关详细信息:
<一href=\"http://stackoverflow.com/questions/4281531/monitoring-network-usage-excluding-local-traffic\">Monitoring网络使用率不包括地方交通

这篇关于如何做的DataMan iPhone应用程序在后台运行,的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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