【发布时间】:2015-07-07 07:13:12
【问题描述】:
我正在异步加载表格视图单元格中的图像它工作得非常好但是当我向下滚动时图像闪烁......
导入“UIImageView+WebCache.h”
[cell.imgProfilePic sd_setImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@",[arrSearchedPic objectAtIndex:indexPath.row]]] placeholderImage:[UIImage imageNamed:@"placeholder.png"] 完成:^(UIImage *image, NSError *error, SDImageCacheType cacheType, NSURL *imageURL) { NSLog(@"下载完成..."); }];
使用此代码以及静止图像闪烁是否有任何我遗漏的东西请告诉我
任何帮助都将是可观的。 谢谢
【问题讨论】: