Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

aneuryzma

macrumors newbie
Original poster
May 9, 2011
21
0
How can I load all files from a specific folder with iOS ? (They are images)

thanks
 
Yes, I need to know how to add them to the "Products" group and not other folders because I need to load them from my code in runtime

And of course I need to know the code to load all files from a folder name, and not just a file given the filename
 
Last edited by a moderator:
Use the NSFileManager class. It has several methods for Discovering Directory Contents. contentsOfDirectoryAtxxx and enumeratorAtxxx are only two of the naming patterns.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.