Unable to view lottie animation when configured through storyboards #2024
ABAYatheen
started this conversation in
General
Replies: 1 comment
-
Hi @calda, any tips for the above? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Which Version of Lottie are you using?
Lottie 4.1.3
Expected Behavior
The expected behaviour is that the animation should play regardless of whether is configured from the storyboard or programatically.
Result: Animation does not play. Animation is not visible.
Note: If I create a LottieAnimationView programatically and and it as a subview to a parent and follow the same steps as above (starting from step 2), the animation is visible and plays perfectly. However, I would prefer to avoid the overhead involved in adding a subview and rather configure the LottieAnimationView added on the storyboard directly.
Actual Behavior
Animation does not play. Animation is not even visible when configured from a storyboard. Configuring LottieAnimationView's from the storyboard was possible on older versions of the Lottie SDK.
Animation JSON
Beta Was this translation helpful? Give feedback.
All reactions