Kingfisher
Kingfisher copied to clipboard
alaways show Error Domain=NSURLErrorDomain Code=-999 "cancelled" UserInfo={NSErrorFailingURLStringKey=https://img.
SURLErrorDomain Code=-999 "cancelled"
i do not know why i use function like this : ImageDownloader.default.downloadImage(with: URL, completionHandler: { [weak self] image, error, _, originalData in
The "-999 cancelled" error means that the downloading was canceled somewhere. However, in ImageDownloader, a started downloading task should not cancel itself by default. So it is now quite hard for me to point out what can be wrong.
Can you try to paste some more code snippet, or even better, a simple demo in which this issue can be reproduced? Then I can dig into it deeper.