Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
I am developing an app in which I need to use vertical slider which is having particular range i.e it slide between 0 to 100 values etc.
I have tried but not getting proper solution
更改滑块的变换属性。
基本上第一个参数是滑块的现有变换矩阵,第二个参数是您要旋转滑块的 n*度数(以弧度为单位) *。
IBOutlet UISlider *slider; slider.transform = CGAffineTransformRotate(slider.transform, 270.0/180*M_PI);