Reputation: 11338
I want to display multiple colors in progressbar.
for example,
Lets say there are three time portion in app.
Starting from 0 to 1 min
it should display gray
color.
from 1 to 4 min
it should display blue
color
and from 4 to 13 min
it should display red
color.
So at the end progressbar should look with three color gray,blue,red
.
How can I get multiple colors?
Upvotes: 0
Views: 959
Reputation: 3485
If you target iOS5, use a custom background image for your UIProgressView (progressImage property).
Upvotes: 1