如何在iOS应用程序中获取后台运行应用程序的详细信息? [英] How can i get background running applications detail in my Application for iOS?

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

问题描述

我想开发一个应用程序,它应该监视我的I-Phone设备(包括互联网浏览器)上运行了多少应用程序。

I want to develop one application which should be monitoring how much application is running on how much time on my I-Phone Device(including internet browsers).

请分享您关于这篇文章的想法。

Please share your idea regarding this post.

与此类似:
https://itunes.apple.com/us/app/system-manager/id455736462?mt=8

谢谢

推荐答案

你真的不能,因为Apple已经对Apps提出了非常严格的指导方针iOS版。
尽管有一些低级别的调用,你可能会获得一些正在运行的进程信息。

You really can't since Apple has placed very restrictive guidelines on Apps for iOS. Although with some low level call you might get some running process information.

由于沙盒环境的缘故,你可能不会获得更多信息。

Because of the sandbox environment you might not be abele to much more information then that.

如果没有后台运行标志(voip,音频,位置或附件),也会暂停后台app。此外,如果系统内存不足,内存应用程序暂停被杀死并释放内存。

Also app's in background are suspended if they have no background running flaggs (voip, audio, location or accessory). Also if the system gets low on memory app that are suspended get killed and there memory freed up.

你能做什么:

  • Try the List of All Processes OS X code which
  • Can we retrieve the applications currently running in iPhone and iPad

但请记住Apple对您的应用程序的反应: iOS环境,因此appstore中有应用程序可以执行您想要的操作并不意味着您的应用程序将被允许。

But keep in mind the restiction placed on you app by Apple: The iOS Environment, thus that there are app availble in the appstore that do what you want does not mean that you app will be allowed.

这篇关于如何在iOS应用程序中获取后台运行应用程序的详细信息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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