【发布时间】:2013-07-18 09:25:30
【问题描述】:
我正在使用 base64 图像,它使用下面的代码在 imageview 中显示
NSURL *url = [NSURL URLWithString:prodDetCompl.AttPath];
NSData *imageData = [NSData dataWithContentsOfURL:url];
UIImage *ret = [UIImage imageWithData:imageData];
cell.imageView.image = ret;
但我需要使用 AFNetworking 来加载图像不成功
[imageview setImageWithURL:[NSURL URLWithString:@""] placeholderImage:[UIImage imageNamed:@"sampleimages.jpeg"]]
怎么做
谢谢
【问题讨论】:
-
AFNetworking许可证中是否有任何内容阻止您进行更改?
标签: ios ios6 uiimageview uiimage afnetworking