Saving a file inside app’s main directory

txt file under ? Currently I found NSSearchPathForDirectoriesInDomains

 NSArray* dirs = [[NSFileManager defaultManager] contentsOfDirectoryAtPath:[NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) firstObject] error:NULL];

but it places under documents. Can i save it under under

Read more here:

Content Attribution

This content was originally published by febamod342 at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: