iphone - How can i get the count of the files in a folder? -
this question has answer here:
- get count of files in directory 3 answers
how can number of files in folder on ios?
nsfilemanager *filemgr = [nsfilemanager defaultmanager]; nsarray *filelist= [filemgr directorycontentsatpath: yourpath]; int count = [filelist count]; nslog ("%i",count);
Comments
Post a Comment