Skip to main content
y
11d ago

Facing an issue when implementing the following animation

I am facing an issue when implementing the following animation in iOS Swift:

https://rive.app/s/RnCFuy-fYEeGAa5l_AQMBg/

The animation is supposed to display a percentage from 1 to 100, with the numbers growing larger every 10%.

However, when implementing this, I am unable to get the numbers to enlarge every 10% as intended. I am currently passing the numbers one by one, like 1, 2, 3... until the target number.

Is this a limitation of Rive?

If there is a method to apply the animation from the link above in iOS, please let me know.

2 replies
y
11d ago

Hmm. I see it working fine in the Rive file so I don't know why it wouldn't work in Swift. Can send me the .rev file so I can test it out?

y
3d ago

Sorry for the delayed response. I'd love for you to check this.

I'm attaching the file, so please take a look.

compatibility_increase_animation.riv
319 KB