SDwebimage和af的修改
This commit is contained in:
+1
-1
@@ -25,7 +25,7 @@
|
||||
self.timeLabel.text = model.time;
|
||||
NSString*str=[NSString stringWithFormat:@"%@%@",kGetIconUrl,model.userImg];
|
||||
|
||||
[self.userImg sd_setImageWithURL:[NSURL URLWithString:str]];
|
||||
[self.userImg sd_setImageWithURL:[NSURL URLWithString:str]placeholderImage:nil options:SDWebImageAllowInvalidSSLCertificates];
|
||||
|
||||
if ([model.asUserId isKindOfClass:[NSNull class]]) {
|
||||
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@
|
||||
UserModel *model = [dataContorl getUserInfo];
|
||||
NSString*str=[NSString stringWithFormat:@"%@%@",kGetIconUrl,model.userImg];
|
||||
|
||||
[self.userImg sd_setImageWithURL:[NSURL URLWithString:str] placeholderImage:[UIImage imageNamed:@"account"]];
|
||||
[self.userImg sd_setImageWithURL:[NSURL URLWithString:str] placeholderImage:[UIImage imageNamed:@"account"] options:SDWebImageAllowInvalidSSLCertificates];
|
||||
self.inpuTextView.layer.masksToBounds = YES;
|
||||
self.inpuTextView.layer.cornerRadius = CGRectGetHeight(self.inpuTextView.frame)/2;
|
||||
self.userImg.layer.masksToBounds = YES;
|
||||
|
||||
+1
-1
@@ -48,7 +48,7 @@
|
||||
-(void)loaDataWith:(IfishKankanListModel*)model
|
||||
{
|
||||
|
||||
[self.roomOwnerImg sd_setImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@%@",kGetIconUrl,model.userImg]] placeholderImage:[UIImage imageNamed:@"live_roomUser_holder"]];
|
||||
[self.roomOwnerImg sd_setImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@%@",kGetIconUrl,model.userImg]] placeholderImage:[UIImage imageNamed:@"live_roomUser_holder"]options:SDWebImageAllowInvalidSSLCertificates];
|
||||
|
||||
self.roomUserName.text = model.nickname;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user