rs/SDWebImage — Issue #59: Is there a limit on how many setImageWithURLs can be queued?
Author: PaperDot
Created: 2012-01-18 18:47:27+00:00
State: open

Hi, fantastic job on this library, by the way.

I'm wondering if there is an upper limit on how many setImageWithURL messages can be submitted at one time? I'm trying to load 100 photos and am looping through an array of URLs and submitting them like so:

[photoView.imageView setImageWithURL:[NSURL URLWithString:imageURL] placeholderImage:[UIImage imageNamed:@"photoDefault.png"]];

I'm listening for SDWebImageDownloadStartNotification and SDWebImageDownloadStopNotification events to "count" the number of times a download starts and finishes, and it's starting at 100 and counting down to 0, so it seems like it is working, but only about 25 of the images actually display up at a time. The rest remain the placeholder image.

I seem to remember reading a while back about a cache limit, but can't find it now. Just wondering if this is something intentional or (more likely) something I'm doing wrong in my code.

Thanks for any advice...