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

Était-ce utile?

La solution

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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top