How can you remove all the files that are saved using the NSFileManager
? I found something like the code below, but you need to give the filePath and since I need to delete all the images that I've saved, I don't know all the image paths/names?
[[NSFileManager defaultManager] removeItemAtPath:filePath error:NULL];