File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -197,11 +197,6 @@ the URL before to use it as a cache key:
197
197
Common Problems
198
198
---------------
199
199
200
- ### No image appear when using UITableViewCell
201
-
202
- If choose to use a default cell template provided by UITableViewCell with SDWebImage, ensure you are
203
- providing a placeholder image, otherwise the cell will be initialized with no image.
204
-
205
200
### Using dynamic image size with UITableViewCell
206
201
207
202
UITableView determins the size of the image by the first image set for a cell. If your remote images
Original file line number Diff line number Diff line change @@ -70,11 +70,13 @@ - (void)cancelCurrentImageLoad
70
70
- (void )webImageManager : (SDWebImageManager *)imageManager didProgressWithPartialImage : (UIImage *)image forURL : (NSURL *)url
71
71
{
72
72
self.image = image;
73
+ [self setNeedsLayout ];
73
74
}
74
75
75
76
- (void )webImageManager : (SDWebImageManager *)imageManager didFinishWithImage : (UIImage *)image
76
77
{
77
78
self.image = image;
79
+ [self setNeedsLayout ];
78
80
}
79
81
80
82
@end
You can’t perform that action at this time.
0 commit comments