AsynchronousImageView *image = [[AsynchronousImageview alloc]init]; [image loadImagewithUrlString:getString]; FbGraphResponse *fb_graph_response = [fbGraph doGraphGet:get_string withGetVars:nil]; UIImageView *image_view = [[UIImageView alloc] initWithImage:fb_graph_response.imageResponse]; cell.imageView.image = image_view.image;
This code creates the described problem ..... try this approach ... as soon as any image is uploaded, save it in any temporary folder in the document directory (enter the name of the ur-image so that you can uniquely identify each of them) .. .. and when you need to customize the cell, just accept the form form in the temp folder every time the celForRowAtIndexPath
method is celForRowAtIndexPath
.... don't use
UIImageView *image_view = [[UIImageView alloc];
This does not make sense since you are not using it (you just use its .image
property) .... also, if possible, collect all your data in viewDidLoad
in this way, you can further improve performance
source share