2016.8.24
返回图片地址是https的时候,用下边这句话
[self.picViewsd_setImageWithURL:[NSURLURLWithString:url]placeholderImage:niloptions:SDWebImageAllowInvalidSSLCertificates];
是http的时候
[picsd_setImageWithURL:[NSURLURLWithString:imgUrl]]
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
网友评论