How do I print the application's path?
Asked
Active
Viewed 2,492 times
1 Answers
7
NSLog( @"%@" , [[NSBundle mainBundle] bundlePath] );

drawnonward
- 53,459
- 16
- 107
- 112
-
1Thanks but how does one find this in the apple documentation? – TheLearner May 28 '10 at 16:26
-
**Swift**: `print(NSBundle.mainBundle().bundlePath)` – SwiftArchitect Feb 11 '16 at 13:48