SDwebimage和af的修改
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
-(void)loadCellData:(IfishGoodsData*)model
|
||||
{
|
||||
|
||||
[self.goodsImg sd_setImageWithURL:[NSURL URLWithString:model.goodsPicture] placeholderImage:[UIImage imageNamed:@"Ifish_goodsholder"]];
|
||||
[self.goodsImg sd_setImageWithURL:[NSURL URLWithString:model.goodsPicture] placeholderImage:[UIImage imageNamed:@"Ifish_goodsholder"]options:SDWebImageAllowInvalidSSLCertificates];
|
||||
self.goodsName.text = model.goodsName;
|
||||
self.shopName.text = model.shopName;
|
||||
|
||||
|
||||
@@ -627,13 +627,13 @@ Assign BOOL isPush;
|
||||
}else if (wechatImgUrl.length){
|
||||
|
||||
|
||||
[_userImgView sd_setImageWithURL:[NSURL URLWithString:wechatImgUrl]];
|
||||
[_userImgView sd_setImageWithURL:[NSURL URLWithString:wechatImgUrl] placeholderImage:nil options:SDWebImageAllowInvalidSSLCertificates];
|
||||
|
||||
}
|
||||
else{
|
||||
|
||||
NSLog(@"%@",[NSString stringWithFormat:@"%@%@",kGetIconUrl,umodel.userImg]);
|
||||
[_userImgView sd_setImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@%@",kGetIconUrl,umodel.userImg]]];
|
||||
[_userImgView sd_setImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@%@",kGetIconUrl,umodel.userImg]] placeholderImage:nil options:SDWebImageAllowInvalidSSLCertificates];
|
||||
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@
|
||||
-(void)loadCellDataWith:(IfishInformations *)info
|
||||
{
|
||||
|
||||
[self.newsimg sd_setImageWithURL:[NSURL URLWithString:info.image]];
|
||||
[self.newsimg sd_setImageWithURL:[NSURL URLWithString:info.image] placeholderImage:nil options:SDWebImageAllowInvalidSSLCertificates];
|
||||
self.titlelab.text = info.title;
|
||||
self.detailLabe.text = info.contents;
|
||||
self.watchNumber.text = [NSString stringWithFormat:@"%d",info.clickNum];
|
||||
|
||||
Reference in New Issue
Block a user