Is it possible to set a track image for the UISlider which does not strech, but repeats itself?
I have a background image with small position points (the attached image is exmaple... mine is horizontal). So if the UISlider is longer than the image itself, it starts to stretch it and the position points are not symmetrical any more. Would be really nice that if the slider or the thumb exceeds track image width, then it just repeats itself.
Something similar to css background-repeat: repeat-x;

You can use - (UIImage *)resizableImageWithCapInsets:(UIEdgeInsets)capInsets.
It only works on iOS 5 and later though.
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