How can I get the directory path of other application from process pid?
Seems that there is no proc_pidpath calls on iOS.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The following works on iOS and uses
sysctlwhich applications like Activity Monitor Touch are using in the App Store so should be acceptable to Apple. However, what you intend to do with the path once you’ve got it might not be acceptable to Apple. If you aren’t intending to submit your app to the App Store then it is probably a non-issue.