1

I have created a UISlider , and i want to change its look . I dont want to change its image with my own, like this one Change iPhone UISlider bar image

but, to create an elliptical UIView of my own,in code, and set it instead of the current slider thin line, than instead of the moving circle button, create a circle UIView in code, and replace it also.

I know i can set their images ,

[self setThumbImage:[UIImage imageNamed:@"switchThumb.png"] forState:UIControlStateNormal];
    [self setMinimumTrackImage:[UIImage imageNamed:@"switchBlueBg.png"] forState:UIControlStateNormal];
    [self setMaximumTrackImage:[UIImage imageNamed:@"switchOffPlain.png"] forState:UIControlStateNormal];

but how do i set my own costume uiview ?

Community
  • 1
  • 1
Curnelious
  • 1
  • 16
  • 76
  • 150

1 Answers1

0

If you want to make a circular Slider,you can check it once: http://code4app.net/ios/EFCircularSlider/52a6bdd9cb7e84af088b5fa8

Monikanta
  • 307
  • 2
  • 8