iPhone using Camera causes array to be unloaded
- by Aaron Dale
I have an array of images that I'm displaying in a UITableView. When choosing images from the library using the UIImagePicker, everything is totally fine and I can add a lot of images to the array. As soon as I add an image from the camera using the Picker I receive a memory warning and my array of images is ditched. Coming back from the camera picker, the table view is empty.
The UIImagePicker when using the camera as the source generates a memory warning before I have a chance to resize the image.