0

Is it possible for me to put all the images in my photos folder into a NSMutableArray as UIImages? If so, how could I go about doing this?

user873261
  • 143
  • 1
  • 4

1 Answers1

1

Use the UIImagePickerController to get the images from the photos from the photos folder on the device. There are great associated sample projects from Apple which are easily found from a google search.

EDIT: If you need to grab more then just a user selected photo, you can use the ALAssetLibrary and Blocks. There are some similar posts here and here which point you in the right direction. I would also look at Block Programming Topics if you are new to Blocks, as this will help you grasp what is going on. Hope that helps!

Community
  • 1
  • 1
msgambel
  • 7,320
  • 4
  • 46
  • 62
  • Sorry, I wasn't clear in my question. I meant to ask if there was a way for me to put all the images into an array without having to physically click all of them with the UIImagePickerController, because I need to put around 100 images in this array. – user873261 Aug 02 '11 at 16:17
  • I'll start looking at these posts and links. Thanks for the help! – user873261 Aug 03 '11 at 00:56