I am reading files from folder, folder contains .pngs
but I get additionally Thumb.db
file in every folder and all others are .pngs. I read content as
NSArray *directoryContent = [[NSFileManager defaultManager] contentsOfDirectoryAtPath:path error:NULL];
How to remove all files which contains .db
in array or to stay just which ends with .png
?