On Sep 22, 2009, at 12:26 PM, Development wrote:

I have a UITableViewCell with a UIImageView that's 44X44 pixels. I'm loading three different tables with a total of around 200 images none of which are more than 100k. So. My problem is memory warnings that cause the app to quit quite unceremoniously. I have tried loading the image when the cell is viewed. That makes an ugly stutter. And no help with memory warnings. I have tried storing the image in memory and simple adding the image to the UIImageView when the cell is returned. Same problem, lots of stutter and memory warnings.

What can I do to have the image in the cell, without the memory problems?

Don't load all of the images into memory. 200 images X 100K/image = 20MB. I don't think iPhone applications can use that much memory successfully.
--
Rick Genter
[email protected]





_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to