Fix the no image issue when no placeholder image is used with UITableViewCell default templates

This commit is contained in:
Olivier Poitrey 2012-06-26 03:45:25 +02:00
parent 46cc079069
commit c474512548
2 changed files with 2 additions and 5 deletions

View File

@ -197,11 +197,6 @@ the URL before to use it as a cache key:
Common Problems
---------------
### No image appear when using UITableViewCell
If choose to use a default cell template provided by UITableViewCell with SDWebImage, ensure you are
providing a placeholder image, otherwise the cell will be initialized with no image.
### Using dynamic image size with UITableViewCell
UITableView determins the size of the image by the first image set for a cell. If your remote images

View File

@ -70,11 +70,13 @@
- (void)webImageManager:(SDWebImageManager *)imageManager didProgressWithPartialImage:(UIImage *)image forURL:(NSURL *)url
{
self.image = image;
[self setNeedsLayout];
}
- (void)webImageManager:(SDWebImageManager *)imageManager didFinishWithImage:(UIImage *)image
{
self.image = image;
[self setNeedsLayout];
}
@end