2012-03-27 92 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