Question

I have customized track image and progress image, the point is I don't want them to be with the same width. But it seems like when I use setTrackImage and setProgressImage, they always keep the same wide. Now my implementation turns out as the first image, but I want the effect just like the second image. current effect

expected effect

Was it helpful?

Solution

Yes, use UISlider and then remove the thumb image by simply adding an empty image.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top