UIImages on UITableView?

Posted by babu Kong on Stack Overflow See other posts from Stack Overflow or by babu Kong
Published on 2010-06-06T00:02:35Z Indexed on 2010/06/06 0:12 UTC
Read the original article Hit count: 409

what is the best method to display about 300 png images into a UITableView..

i dont wanna display them at the same time... i have 3 tableViewControllers that will each display about 100 imgaes.. (its for a catalog so the images are important to display) i used [uiimage imageNamed:] but that method caches the images and they dont get released so the memory usage is big.... is there any way to release the cache when the nav controller pushes a different view controller?

i also tried [uiimage alloc] initWithContentsOfFile] but the images wont display....

any help?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c