hello all,
i want to retreive the files which have been written into the applications documents directory. I have used this code to write the files:
Now i want to retreive all the written files from Documents and display them into a table. So, how to get back all the files in an array?
thanks
i want to retreive the files which have been written into the applications documents directory. I have used this code to write the files:
Code:
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *documentsDirectory = [paths objectAtIndex:0];
NSString *FilePath = [documentsDirectory stringByAppendingPathComponent: FileName];
NSURL *url = [NSURL fileURLWithPath:FilePath];
Now i want to retreive all the written files from Documents and display them into a table. So, how to get back all the files in an array?
thanks