manage uitableview with more than 1000 rows with images iphone -


i have table view more 1000 rows. , every cell have image of large size approx 2-3 mb. receive low memory warning. can 1 suggest how manage table view. loading images web server , saving locally. please suggest approach should follow.

code of cell row @ index path:

savedfile =  [nsstring stringwithformat:@"%@/%@", appdeligate.thumbnailpath, filename];               if ([clsglobal isfileexist:savedfile]) {                 objcellrecent.imgview.image =[uiimage imagewithcontentsoffile:savedfile];              } 

thanks

you cannot load 1000 images of 2-3 mb each on device. can maintain stack of 50 rows @ time , overwrite images within stack. stack shall of rows present on screen , rows around them showing 10 rows @ time maintain ten , 40 around ten instance 20 , 20 down. let me know if works out cause have not tried myself.


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -