i write some image files in to iphone document folder. then i have to retrieve that files name in an array. please post some code.
A:
Look at the documentation for NSArray. You'll find methods for reading data from files into arrays in there.
Jasarien
2009-07-29 13:44:42
i have to read file names from the document folder
2009-07-29 13:53:07
You can get the path for the Documents directory by using NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); - you then need to append the filename of the file you are trying to read to the end of the path.
Jasarien
2009-07-29 14:52:17