Reputation: 39243
I have a "basic" table view cell and want to set an image:
[cell.imageView setImageWithURL:urlOfAvatar placeholderImage:[UIImage imageNamed:@"none40"]];
Unfortunately, the result is that the image is too big for the cell. Is it possible make this look correct?
Upvotes: 0
Views: 843
Reputation: 178
write a customized cell inherit UITableViewCell, and override layoutSubViews。
how to: https://stackoverflow.com/a/4866205/946434
Upvotes: 1