2010-05-28 1 views

Répondre

7
NSLog(@"%@" , [[NSBundle mainBundle] bundlePath]); 
+1

Merci, mais comment le trouver dans la documentation sur la pomme? – TheLearner

+1

Lire + mainBundle (http://bit.ly/cydGZx) et -bundlePath (http://bit.ly/94Fefe). –

+0

** Swift **: 'print (NSBundle.mainBundle(). BundlePath)' – SwiftArchitect