Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to show indicator, the image size is vary #221

Open
yosuke1985 opened this issue Jul 25, 2022 · 2 comments
Open

How to show indicator, the image size is vary #221

yosuke1985 opened this issue Jul 25, 2022 · 2 comments

Comments

@yosuke1985
Copy link

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!

@dreampiggy
Copy link
Collaborator

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

@dreampiggy
Copy link
Collaborator

Maybe the same as SDWebImage/SDWebImageLottiePlugin#6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants