iOS Application Documents Path

/ Published in: Objective C
Save to your folder(s)

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

Copy this code and paste it in your HTML
  1. -(NSString*)docsPath{
  2. return [[[[NSFileManager defaultManager] URLsForDirectory:NSDocumentDirectory inDomains:NSUserDomainMask] lastObject] path];
  3. }


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.