views:

189

answers:

1

How can I make a vertical UISlider? I saw it in one of the applications and was trying to duplicate it. But seems difficult, does anyone know how?

+3  A: 

The easiest approach is to simply rotate the slider. This can be done by using CGAffineTransformMakeRotation to create a transform and apply that to the slider's transform property. Just remember that the function takes radians.

Giao