UIProgressView unprogressed color

Nitish picture Nitish · Jun 29, 2012 · Viewed 8.5k times · Source

I have a UIProgressView which I want to look like this image. I have set the progress color but I am not sure to set unprogressed color (white color in image).

enter image description here

Answer

Nitish picture Nitish · Jun 29, 2012

Here is the simple solution I myself found on exploring properties for UIProgressView :

progressView.trackTintColor = [UIColor whiteColor];