I want to create a custom curvy UISlider, as shown below, which is suitable for the screen.
UISlider
I checked the MTCircularSlider library and also applied tranformanimaton to the UISlider control, but none of them work. My mind is stuck after many attempts.
tranform
thanks
Using the MTCircularSlider Library
fileprivate var controlRadius: CGFloat { return min(bounds.width, bounds.height) / 2.0 - controlThickness }
See above. This library uses a value minof width and height.
min
, , View.
0.80
trackAngle