【发布时间】:2017-07-03 09:39:47
【问题描述】:
我正在尝试使用 SDWebImage 获取图像,但它返回 -1100 错误。我不知道为什么:
[eventImageView sd_setImageWithURL:[NSURL URLWithString:@"http://farm3.staticflickr.com/2350/2605722927_8cf675a249_b.jpg"] completed:^(UIImage * _Nullable image, NSError * _Nullable error, SDImageCacheType cacheType, NSURL * _Nullable imageURL) {
if (error) {
NSLog(@"error: %@", error.localizedDescription);
}
}];
错误描述:
操作无法完成。 (NSURLErrorDomain 错误 -1100。)
【问题讨论】:
标签: objective-c image sdwebimage