'Getting error with SDWebImage 5.12.0 "Value of type 'UIImageView' has no member 'sd_setAnimationImages'"
Earlier used like below.,
var imagesURL: [String] = [] {
didSet {
guard !imagesURL.isEmpty else { return }
let urls = imagesURL.map { URL(string: $0)! }
backgroundImageView.animationDuration = 5.0
backgroundImageView.sd_setAnimationImages(with: urls)
}
}
As per docs [https://github.com/SDWebImage/SDWebImage/wiki/5.0-Migration-guide][1] we can use SDWebImagePrefetcher with memory cache to grab the batch loaded images
I tried SDWebImagePrefetcher, unable to find way to download all images at once. we can set all animationImages on imageView.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
