3

Under Mac OS, i could use GetCurrentProcess and GetNextProcessInfo to get process infos. But when i use the functions under iOS system,i got the link errorslike:

Undefined symbols for architechture i386: “_GetCurrentProcess” "_GetProcessInformation"....

How to get all process info in objective-c under iOS system?

timestee
  • 1,086
  • 12
  • 36

1 Answers1

4

Yes, there is no GetCurrentProcess or GetProcessInformation calls on iOS as Apple would prefer that each application live in it's own "sandbox" and know nothing about other apps running on the phone.

But there may be ways to approximate what you are trying to do.

Here are a few related questions that may help you out:

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

The answers to these questions may point you in the direction you'd like to head towards.

Good luck!

Community
  • 1
  • 1
Michael Dautermann
  • 88,797
  • 17
  • 166
  • 215