How can I get url path for a particular directory inside Document Directory.
like Document/Art/
Document/Art/
My code
- (NSURL *)localRoot {
Use this
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); NSString *documentsDirectory = [paths objectAtIndex:0]; NSString *appFile_a = [documentsDirectory stringByAppendingPathComponent:@"/Art"];