iOS-boilerplate icon indicating copy to clipboard operation
iOS-boilerplate copied to clipboard

Async Cell Images not displaying correctly

Open sarperdag opened this issue 13 years ago • 3 comments

I have increased the size of the results coming from the Twitter search example in AsyncCellImagesExample.m by changing the code as below

NSArray *keys = [NSArray arrayWithObjects:@"q", @"rpp", nil]; NSArray *objects = [NSArray arrayWithObjects:@"iOS", @"100", nil]; NSDictionary *params = [NSDictionary dictionaryWithObjects:objects forKeys:keys];

And when I run the code on my iPhone, if you scroll directly to the bottom of the table view, very fast, the images start showing some previously fetched and rendered versions, and then they quickly go back to normal. It is like there is some flickering, showing incorrect images.

sarperdag avatar Dec 15 '11 20:12 sarperdag

I reproduce this too.

syntaxTerr0r avatar Dec 26 '11 00:12 syntaxTerr0r

IMO the issue come from the cell reusing, but even if I clear the graphics context in the prepareForReuse method, the problem still persist. The best way to reproduce this issue is by disabling the WiFi/3G network of the device. I reproduce this each time i'm using a low bandwidth connection (like Edge).

Any help around here? Thanks!

syntaxTerr0r avatar Feb 01 '12 21:02 syntaxTerr0r

Dev,

How we can avoid this flickering issue ? It's very annoying. I have more than 1000 friend list in a UITableView. So if I scroll down its flickering with previous image almost 20+ times.

sourcebits-tariq avatar Jul 16 '12 07:07 sourcebits-tariq