SDWebImageSwiftUI icon indicating copy to clipboard operation
SDWebImageSwiftUI copied to clipboard

How to show indicator, the image size is vary

Open yosuke1985 opened this issue 2 years ago • 2 comments

What I want is to show Lottie when the Image is loading.

It needs to set frame size of the Lottie Image. But Later, you'll see the image size after downloaded.

How to get the image size before downloading? or How to show an Indicator(Lottie) fit frame by various images?

Anyone knows, how to solve this issue? Thanks!

yosuke1985 avatar Jul 25 '22 09:07 yosuke1985

Lottie, does this means you write your own Lottie.AnimationView UIView wrapper ?

dreampiggy avatar Jul 25 '22 13:07 dreampiggy

Maybe the same as https://github.com/SDWebImage/SDWebImageLottiePlugin/issues/6

dreampiggy avatar Jul 25 '22 13:07 dreampiggy