SDWebImage / SDWebImageSwiftUI

SwiftUI Image loading and Animation framework powered by SDWebImage
https://sdwebimage.github.io/SDWebImageSwiftUI
MIT License
2.14k stars 219 forks source link

Retry logic on load failure #183

Open reubits opened 3 years ago

reubits commented 3 years ago

I've noticed that in some cases images do not appear, and I believe it is simply a failure to load due to intermittent network issues. However I would expect SDWebImage to have retry logic, but as far as I can tell it will only retry on reappear. Is it possible to configure the library so that it will retry on failure, for example, up to 3 times? With our own Objective-C image loader we never had this issue.

ppoh71 commented 3 years ago

I think i have the same issue. Sometimes and by no reason I have found yet, images just stop loading. Instead the progress view shows without any completion. Just an app restart helps.

Might be related to this Bug:

Working with XCode12.4, iOS: 14.1

fluffy919 commented 3 years ago

Any solution for this?