✅ Solved: How to make a timer in Rive with Data Binding (with leading zeros)?
Hello! 👋
I’m creating a timer in Rive following this video tutorial. In the author’s example, the timer simply counts up (0, 1, 2, 3…). My case is a bit different — I need the timer to display in the HH:MM:SS format with leading zeros (for example, 00:01:05 instead of 0:1:5).
Here’s a screenshot of my version of the timer:
Could you please tell me if it’s possible to achieve this format directly with Data Binding? And what would be the best way to implement it so that the solution is optimized for use in an iOS app?
Thanks a lot in advance for your help and advice! 🙏