yonat / MultiSlider

UISlider clone with multiple thumbs and values, range highlight, optional snap intervals, optional value labels, either vertical or horizontal.
MIT License
494 stars 113 forks source link

How to have each thumb have a different image? #98

Closed jsingh1702 closed 1 year ago

jsingh1702 commented 1 year ago

Description of the problem: How to have each thumb have a different image?

Already tried adding different images for slider like this: // or let each thumb have a different image: slider.thumbViews[0].image = UIImage(named: "ball") slider.thumbViews[1].image = UIImage(named: "club") But it is not not working, white circle is coming. Adding as a thumbimage is working but I want to use different image for each slider not the same. slider.thumbImage = UIImage(named: "balloon")

Screenshot 2023-08-10 at 11 09 40 PM Screenshot 2023-08-10 at 11 11 12 PM
yonat commented 1 year ago

I'll need running code to help with this... Please create a minimal project that reproduces this problem, create a github project with its code, and link to it here. (See https://ootips.org/yonat/repex/)

jsingh1702 commented 1 year ago

It is working. Thank you.