1

I am working on a custom UIProgressView. Please see attached image.

enter image description here

I am very close to it, but I am unable to add the circle at the begining of the pregressbar, like the current progress is 15% so the circle is placed on there.

Any Idea ?

Bhanu
  • 1,249
  • 10
  • 17
SandeepM
  • 2,601
  • 1
  • 22
  • 32

1 Answers1

2

code like below...

[progressView setMaximumTrackImage:[UIImage imageNamed:@"yourimage"] forState:UIControlStateNormal];
[progressView setMinimumTrackImage:[UIImage imageNamed:@"yourimage"] forState:UIControlStateNormal];
[progressView setThumbImage:[UIImage imageNamed:@"yourimage"] forState:UIControlStateNormal];

//intial progress
progressview.progress=0.0;

Increase your progress

progressview.progress=progress here;

let me know it is working or not!!!!

Happy Coding!!!

Paresh Navadiya
  • 38,095
  • 11
  • 81
  • 132
NiravPatel
  • 3,260
  • 2
  • 21
  • 31
  • Thank you. `setMaximumTrackImage` and `setMinimumTrackImage` is the property of UISlider. I got the answer from http://stackoverflow.com/questions/4495433/uislider-with-progressview-combined. – SandeepM Jul 04 '13 at 16:51