美文网首页
iOS 图片根据图片地址

iOS 图片根据图片地址

作者: 夏天爱西瓜汁 | 来源:发表于2017-11-28 11:14 被阅读10次

2016.8.24

返回图片地址是https的时候,用下边这句话

[self.picViewsd_setImageWithURL:[NSURLURLWithString:url]placeholderImage:niloptions:SDWebImageAllowInvalidSSLCertificates];

是http的时候

[picsd_setImageWithURL:[NSURLURLWithString:imgUrl]]

相关文章

网友评论

      本文标题:iOS 图片根据图片地址

      本文链接:https://www.haomeiwen.com/subject/ssbdbxtx.html