Basically, I want to create a custom progressview that will have different colors depending on the progress value. It should look like the following:
[-----Red----][
1) Create an image that has the desired color gradient in some image editing program.
2) Put the image into your asset library.
3) Generate a UIImage instance from the respective image.
UIImage *image = [UIImage imageNamed:@"imageName"];
4) Assign the UIImage instance to the progressImage
property of UIProgressView.
self.progressView. progressImage = image;