Is there a Class that I can use to say search my documents directory and it would search through all the sub directories and so on finding files? I want to create a list of all files in all directories from a given directory.
My goal is for my app to do house cleaning. A client might have 3 images this month but last month they had 8. It is only displaying 3 of the images now but all 8 are still stored on the phone. I want to remove the unused ones.
I can do it by feeding it the paths to all the clients and all the folders but I thought there might be a Class that I am unaware of that can enumerate through everything?
My goal is for my app to do house cleaning. A client might have 3 images this month but last month they had 8. It is only displaying 3 of the images now but all 8 are still stored on the phone. I want to remove the unused ones.
I can do it by feeding it the paths to all the clients and all the folders but I thought there might be a Class that I am unaware of that can enumerate through everything?