Search code examples
iphoneuiprogressview

UIProgressView unprogressed color


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


Solution

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

    progressView.trackTintColor = [UIColor whiteColor];