Closed ykaito21 closed 3 years ago
same error, GIF use AnimatedImage instead of WebImage
@loszhang Thanks! AnimatedImage does work!
😅 Seems this repo need more contributor to help for maintain. I'm busying in daily job and SDWebImage Core's related things.
I'll ask for some help for recently iOS 14 + SwiftUI behaviors and bugfix.
@dreampiggy I don't have enough knowledge to fix the bug, but I really appreciate your hard work for this awesome package. @loszhang I'm using AnimatedImage with .resizable()
, but it always stretch to fill its frame and .aspectRatio(contentMode: .fit)
or .scaledToFit()
doesn't seems to work. Do you know any way to solve this?
I figured out a way to update the WebImage. If you set a .id()
as a modifier on the WebImage and set it to something like .id(url.absoluteString)
then this will force the view to update when the URL changes
This demo code seems work well on v2.0.0 version. So I just close ?
I'm trying to update
WebImage
by changing itsurl
, but the below code doesn't updateWebImage
even thoughVStack
does update, am I wrong something? Sample Code: