Can I bend a UISlider in half to make a 90 ° angle?

I am trying to create UISliderone that will be able to drag up and to the right. Think of a slider that looks like a capital city L, and a slider thumb-buttonlocated on a bend after each slide action.

I looked and found this: UICircularSlider

But this is too much for what I need. I'm not sure if UISliderthis is the way to go, but this is what comes to mind for the simplest functions.

Is there any way to do this?

+4
source share
3 answers

- , , , C 2 UISliders, 90 CGAffineTransformRotate. , ThumbImage , , . , , .

P.S: UISlider , , .

0

:

  • 2 , 90 .

  • () UISwipeGestureRecognizerDirectionUp.

  • , .

, UITouch, locationInView -. , , .

0

Source: https://habr.com/ru/post/1539220/


All Articles