Closed fparkarenet closed 5 months ago
And it works!!! Issue was order of code...
I take progressRing.setProgress(0.8, animated: true)
as last line and it worked...
progressRing.translatesAutoresizingMaskIntoConstraints = false
progressRing.fillContainer(padding: 14.5*iPhoneFactorX)
progressRing.startColor = AppColors.appSecondaryColor
progressRing.endColor = AppColors.appSecondaryColor
progressRing.grooveColor = AppColors.lightOrangeColor_FBECE8
progressRing.duration = 3
progressRing.lineWidth = 8*iPhoneFactorX
progressRing.setProgress(0.8, animated: true)
On iPad, the circle is getting cutted. Find below screenshot.
Upon further check I found that grooveColor is coming fine however startColor is not working fine. Below is the bigger photo, however you can see in above photo too.
Attaching with green background to see view proper...
Code I used is as below.