0

We are using SDWebImage and some times it is giving the result and Some time it is not retrieving any image. And having the issue of operation couldn't perform.

NSString *strImageUrl = [NSString stringWithFormat:@"%@%@",baseUrlImage,model.strThumbnail];

strImageUrl = [strImageUrl stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];

[cell.imgView sd_setImageWithURL:[NSURL URLWithString:strImageUrl] placeholderImage:[UIImage imageNamed:@"placeholder"]]

;

Rahul Mayani
  • 3,761
  • 4
  • 25
  • 40
Abhinav
  • 1
  • 2

0 Answers0