Search code examples
iosswiftswift3uislider

UISlider Animation using MMSegmentSlider


I have found an amazing UISlider library but i want to know if I can put images in those circles or just images in their place.

Here is the image

Link to the library MMSegmentSlider

Please help, Thanks in advance.


Solution

  • you can get the property from MMSegmentSlider

    enter image description here

    use like for change the color

    self.segmentSlider.selectedValueColor = UIColor(patternImage: UIImage(named: "red.png")!)