Reputation: 117
How to change Uislider trackcolor with gradient color which shows in below image gray and black.
Upvotes: 1
Views: 353
Reputation: 119302
imageView
with the gradient image or gradientView (using CAGradientLayer
) below the slider.slider.minimumTrackTintColor = .clear
slider.maximumTrackTintColor = .clear
Upvotes: 1