Closed joeljfischer closed 4 years ago
Hey there, have you tried:
timerRingView.resetProgress()
timerRingView.maxValue = 35.0
timerRingView.startProgress(to: 22.78, duration: 0)
timerRingView.startProgress(to: 35.0, duration: 12.22)
You can also take a look at #222 and my comment at the end
The first comment didn't work, the second seems to be working as I want it to! Thanks for the help :)
Bug Report
I'm attempting to set an initial value to the
UICircularProgressRing
before running it from that value to the end, however, it doesn't seem to be working correctly.Version
v6.5.0
Overview of what you tried to do
I have tried several things, from pausing the timer to resetting the timer. Sometimes this resulted in the progress ring appearing completed, and sometimes it resulted in it not running at all. I expected it to start at the initially provided value above the
minValue
and continuing to the givento
value.Post sample code or example here
This particular version of the code results in the progress ring appearing fully completed.
Have you tried fixing this yourself?
I attempted modifying the
startProgress
function as so:This did not work, it shows the progress ring at the correct value (the
value
set beforestartProgress
, but no animation runs to theto
value.