Save a file in app.

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

Copy this code and paste it in your HTML
  1. NSString * filePath(){
  2. NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
  3. NSString* dirpath = [[paths objectAtIndex:0] stringByAppendingPathComponent:@"XXX"]; //Folder name "XXX"
  4. return dirpath;
  5. }

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.