<分区>
Possible Duplicate:
Can we retrieve the applications currently running in iPhone and iPad
我想知道的是在ios中有没有办法在不越狱的情况下获取当前后台进程状态(运行/挂起)
标签 iphone objective-c ios ios4 ios5
<分区>
Possible Duplicate:
Can we retrieve the applications currently running in iPhone and iPad
我想知道的是在ios中有没有办法在不越狱的情况下获取当前后台进程状态(运行/挂起)
最佳答案
AppStore 中的应用程序正是这样做的(例如 SYS-Activity Monitor)。他们可能使用来自 Can we retrieve the applications currently running in iPhone and iPad 的方法 此方法不允许您确定已暂停的应用程序。 它还不允许您确定哪个应用程序是后台(如果您也是后台 - 您可能会感到困惑) 此外,应用程序被命名为“邮件”、“电话”等(而不是像 com.apple.MobileMail 这样的包 ID)。有很多方法可以解决这个问题,但它们需要私有(private) API
关于iphone - ios如何在不越狱的情况下获取后台进程状态(运行/挂起),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8121406/