I've created a slider track that is draw on the actual background of my app and I've also drawn the UISlider thumb image. I know how to set the thumb image for the slider. But how do I hide the UISlider track?
If you do not want to use transparent images, you can just set the track images to empty UIImage objects:
[slider setMinimumTrackImage:[UIImage alloc] forState:UIControlStateNormal];
[slider setMaximumTrackImage:[UIImage alloc] forState:UIControlStateNormal];
Use a 1px transparent image for the min and max track images. I answered this very same question yesterday.
From Story Board :-
select clear color
for Min Track
and Max Track
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With