Posted By

yasirmturk on 09/21/11


Tagged

iphone iPad ios


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

yasirmturk
cnathan
dvel


iOS Application Documents Path


 / Published in: Objective C
 

URL: http://yasirmturk.com

Use like this: [[self docsPath] stringByAppendingPathComponent:@"photo.png"]

  1. -(NSString*)docsPath{
  2. return [[[[NSFileManager defaultManager] URLsForDirectory:NSDocumentDirectory inDomains:NSUserDomainMask] lastObject] path];
  3. }

Report this snippet  

You need to login to post a comment.