Tutorial :iPhone: get application absolute path


Is there any way to programmatically get absolute path of executable. During execution of this executable, i mean :) Something as reading /proc/pid/* in linux for current PID

Thank you!


I have no idea why you'd want to do this, but:

[[NSBundle mainBundle] executablePath];  

should get you what you're after.


You might get close with NSHomeDirectory.

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »