如何在iOS中运行活动进程 [英] How to get the active processes running in iOS

查看:236
本文介绍了如何在iOS中运行活动进程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何以编程方式在iOS的后台,CPU和RAM使用中运行活动进程?

How do I programmatically get the active processes running in the background, CPU and RAM usage for iOS?

推荐答案

CPU使用率在这里检索: iOS - 从应用程序获取CPU使用率

CPU usage was retrieved here: iOS - Get CPU usage from application

这里似乎解决了RAM的使用问题:适用于iPhone OS应用程序的可用内存

RAM usage seems to be addressed here: Available memory for iPhone OS app

编辑:

就像EricS在评论中指出的那样,似乎有办法获得后台任务:我们可以检索当前在iPhone和iPad上运行的应用程序如何获取信息关于App Store批准的应用程序中的可用内存和运行进程? (是的,有一个!)

Like EricS has pointed out in comments, there seems to be a way to get background tasks: Can we retrieve the applications currently running in iPhone and iPad and How to get information about free memory and running processes in an App Store approved app? (Yes, there is one!)

这篇关于如何在iOS中运行活动进程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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