加载大图像时sdwebimage崩溃应用程序

时间:2016-12-10 20:06:20

标签: ios objective-c iphone sdwebimage

我正在从服务器下载图像并在UITableview中显示,但是当屏幕加载应用程序需要更多内存,并且一段时间后应用程序因内存压力而崩溃。

[cell.imgview sd_setImageWithURL:[NSURL URLWithString:url] placeholderImage:[UIImage imageNamed:@""]];

来自服务器的图像大小很低但分辨率很高。我们用@autoreleasepool减少内存。

任何人都有任何想法??

0 个答案:

没有答案