How to remove UISlider thumb in iphone?

I have two UISliders in one view. My requirement is that when the user changes the value of the 1st slider, the second value of the slider must be changed in accordance with it. So, in the second slider, I want his invisible finger. Although I clear the color of his thumb, He is visible to the user. How can I solve it?

+4
source share
3 answers

Just set the thumb image to zero

UIImage *empty = [UIImage new]; [theSlider setMinimumTrackImage:[UIImage alloc] forState:UIControlStateNormal]; [theSlider setMaximumTrackImage:[UIImage alloc] forState:UIControlStateNormal]; 
+4
source

Easy One:

 [_slider setThumbImage:[UIImage new] forState:UIControlStateNormal]; 
+7
source

Just go to the xib selection slider → Utilities → show attributes Inspectors → Color of the shades of the finger (the color of the shade of the thin finger)

enter image description here

+5
source

All Articles