UIAccessibility.isReduceMotionEnabled aware #1933
HHuckebein
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Check these before submitting:
This issue is a:
Which Version of Lottie are you using?
Lottie 3.0
What Platform are you on?
What Language are you in?
Expected Behavior
Lottie is respecting current UIAccessibility.isReduceMotionEnabled User setting out of the box.
It would be nice to have Lottie takes UIAccessibility settings into account or at least have some opt-in behavior for the various play methods.
Actual Behavior
animation.play is always showing the animation.
Code Example
I'm currently writing code like this
if UIAccessibility.isReduceMotionEnabled { animationView.currentProgress = 1 } else { animationView.play() }
Beta Was this translation helpful? Give feedback.
All reactions