Images are partially loaded and even though I have killed the and started back. Also this comes up rarely hence unable to reach out the exact issue. The image is not correcting itself and remains as such due to caching. But need a solution to fix this. A reference of code and image is attached.
extension UIImageView {
public func sd_setImageWithURLWithFade(url: URL!, placeholderImage placeholder: UIImage? = nil) {
self.sd_setImage(with: url, placeholderImage: placeholder, options: SDWebImageOptions.allowInvalidSSLCertificates)
{ (image, error, imageCacheType, imageUrl) in
if let downLoadedImage = image {
if imageCacheType == .none {
self.image = downLoadedImage
}
} else {
self.image = placeholder
}
}
}
}