2012-03-27 95 views
3

在Mac OS中,我可以使用GetCurrentProcess和GetNextProcessInfo来获取进程信息。但是,当我在使用iOS系统的功能,我得到了链接errorslike:为architechture I386如何在iOS系统下获取objective-c中的所有进程信息?

未定义的符号:“_GetCurrentProcess”“_GetProcessInformation” ......

如何获得在Objective-C的所有过程信息在iOS系统下?

回答

4

是的,没有GetCurrentProcessGetProcessInformation调用iOS上的苹果宁愿每个应用程序住在自己的“沙箱”一窍不通在手机上运行的其他应用程序。

但是可能有方法来估计你正在尝试做什么。

这里有一些相关的问题,可以帮助您解决:

Can we retrieve the applications currently running in iPhone and iPad

How to get information about free memory and running processes in an App Store approved app? (Yes, there is one!)

How to get the active processes running in iOS

到这些问题的答案可能指向你的方向,你想朝向。

祝你好运!

+0

谢谢,其伟大的,我会尝试。 – zsounder 2012-03-27 11:45:00