I have unzipped a file and sent to my documents directory:
[SSZipArchive unzipFileAtPath:path toDestination:destinationPath];
In the unzipped file there will be 5 different types of files. I only want to know the path and file name for the file with an extension type of '.shp'.
I've tried the following:
NSString *filePath = [[NSBundle mainBundle] pathForResource:destinationPath ofType:@"shp"];
Afterwards, I would like to delete all the contents of the files in that folder.
Any ideas? Thanks in advance.