SDWebImageSwiftUI
SDWebImageSwiftUI copied to clipboard
SwiftUI Image loading and Animation framework powered by SDWebImage
I have a list of avatars that I display as `WebImage` in a `LazyVGrid`. The avatar is defined like this: ``` struct AvatarView: View { let url: String let size:...
Greetings, great library. I may be using the APIs incorrectly here, but I can only get the cross fade to function using the legacy animation modifier. Is this usage incorrect?...
All my efforts to use firebase storage reference with SDWebImageSwiftUI do not work. `import SwiftUI` `import FirebaseStorage` `import SDWebImage` `import SDWebImageSwiftUI` `import FirebaseStorageUI` I have imported all these but it...
I got several crash logs in Xcode crashes reports. Though I haven't find a way to reproduce the crash yet. Here is the stack traces. It seems that for some...
Hello, We are running an app on iOS 17 with lots of images, and most of them are around 50K - 100K on disk. However, as you can see from...
这个框架有没有类似SDWebImage那样的自定义缓存策略的block filterCacheKey
Hi, I'm using AnimatedImage in my SwiftUI project and I've been facing an issue like below. I created a card container and put AnimatedImage into it. Added a Binding to...
``` WebImage(url: relation.imageUrl ?? URL(string: "")) .resizable() .placeholder(Image(systemName: "person.circle.fill")) .indicator(.activity(style: .large)) .transition(.fade(duration: 0.5)) .scaledToFit() .frame(maxWidth: UIDevice.isIPad ? 72 : 48, maxHeight: UIDevice.isIPad ? 72 : 48) .clipShape(Circle()) ``` The view...
I want to show placeholder only when error , but it's not working `WebImage( url: URL(string: "some url"), options: [.progressiveLoad, .delayPlaceholder], isAnimating: .constant(true)) .resizable() .placeholder(Image(ImageConstant.defaultRacerImage)) .indicator(.activity)`