Below is my code.
I have taken button in tableview cell and below is the action part.
cell.clickOnMyStreakAction = {
cell.streakProgressbar.layer.needsDisplay()
cell.streakProgressbar.value = 100.0
cell.streakProgressbar.showValueString = false
}
Note: This animation works only once.
If User will tap another tab or any other view and come back it's stop working.