rs/SDWebImage — Issue #43: Lag when used with UIPageControl
Author: rramnel
Created: 2011-11-07 09:53:24+00:00
State: open

Hi,

I am currently using SDWebImage to load images from a URL and display them as separate pages using UIPageControl. I am using the following code as it also does the caching.

[mageView setImageWithURL:[NSURL URLWithString:@"http://www.domain.com/path/to/image.jpg"]
placeholderImage:[UIImage imageNamed:@"placeholder.png"]];

But I noticed that when I launch the app and start scrolling through the pages, there is a slight lag now after this implementation. But after I scroll through the pages and go back again to the first page, the lag is gone. Do you know the reason for this and how I can fix it?