I want to modify a bit the UISlider
. To be exact, I want the thumb to have a custom shape (square/rectangle with rounded corners and bottom shadow).
The only answers that I found were something like "Create your own custom slider". But I don't know how to do that and it would take me a lot more than just trying to modify a bit the UISlider
.
From my research I found that you can assign an image to the thumb.
So my question is the following: Is there any way of "creating" a UIImage
with a CGRect
so I can have any shape that I want (a square/rectangle in this case)? And of course, is and implementation with the UISlider
even possible?