Wrong colour shown
chungfk opened this issue · 3 comments
chungfk commented
chungfk commented
i've tried setting it to 1.0 for the progress and the colour that i wanted is shown towards the end. I want the whole bar to be of one colour only.
yannickl commented
Hi,
Sorry for the late (I'm in holidays), but yes this is the normal behaviour. There is a gradiant that is auto applied to the color. For the moment to avoid it you'll need to use the progressTintColors
instead of progressTintColor
and set the same left and right color.
However now (after 4 years of existence) I think this is a wrong behaviour. To fix it without breaking the API I'm going to add a new property to have an uniform color.
yannickl commented
I added a uniformTintColor
property. Just set it to YES
and it should work as expected! :)