Vertical UISlider in iOS with autolayout

后端 未结 10 1886
难免孤独
难免孤独 2021-02-07 07:22

As per my iPad app requirement, i\'ve to show the UISlider vertically.
I\'m using iOS7 compiler and deployment target is iOS6.
In the story board I added horizontal UISl

10条回答
  •  说谎
    说谎 (楼主)
    2021-02-07 07:39

    Try this :-

    self.slider.transform=CGAffineTransformRotate(slideToUnlock.transform,-90.0/180*M_PI);

提交回复
热议问题