I would like to display the progress like the image(except the black background that is screen color). I am using progress view for this. Here user doesn't have chance to change the progress manually.
Please help me on this.
I would like to display the progress like the image(except the black background that is screen color). I am using progress view for this. Here user doesn't have chance to change the progress manually.
Please help me on this.
This might help someone. I have implemented this behaviour with UISlider instead of UIProgressView. UISlider solves the problem.
UIImage *minImage = [[UIImage imageNamed:@"slider_minimum.png"]
resizableImageWithCapInsets:UIEdgeInsetsMake(0, 5, 0, 0)];
UIImage *maxImage = [[UIImage imageNamed:@"slider_maximum.png"]
resizableImageWithCapInsets:UIEdgeInsetsMake(0, 5, 0, 0)];
UIImage *thumbImage = [UIImage imageNamed:@"thumb.png"];
[self.uisliderObj setMaximumTrackImage:maxImage
forState:UIControlStateNormal];
[self.uisliderObj setMinimumTrackImage:minImage
forState:UIControlStateNormal];
[self.uisliderObj setThumbImage:thumbImage
forState:UIControlStateNormal];
source is from this link
You will find a lot of simple codes on WWW.COCOACONTROLS.COM . You can check it.
If you want to customise on own you can also subclass UIPROGRESSBAR class
and change the trackImage and progressImage of the UIProgressView.