开发者

How to get a PID for a specific app in iphone?

How can I get ProcessInfo of a particular app (Not the same app/process)? I know that "NSProcessIn开发者_开发知识库fo" gives the details of the current process. But I would like to know is there any way to get the info of particular process say for example "Mail". If Mail is running in background, how can I get the info of it?

P.S: Requirement is on a jail-broken IPhone.

Thanks, Prathap.


On a jail-broken phone you should be able to use the system command together with ps to get the pid on any running processes. This link describes in detail how to use the system command.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜