加入SDWebImage lib和把自己的標準代碼後:的UIImageView誤差SDWebImage
[cell.imageView setImageWithURL:[NSURL URLWithString:@"http://www.domain.com/path/to/image.jpg"] placeholderImage:[UIImage imageNamed:@"placeholder.png"]];
我得到了一個錯誤:
ViewController.m: error: Automatic Reference Counting Issue: Receiver type 'UIImageView' for instance message does not declare a method with selector 'setImageWithURL:placeholderImage:'
我怎樣才能解決呢?
哦,該死的,我以爲我已經加了它......非常感謝! – Nathaniel 2012-04-17 19:02:03