Thursday, September 27, 2012

UISegmentControl, UISlider Vertically


This can be done programatically as by default UISegmentControl, UISlider is displayed horizontally.

UISegmentedControl *segment;
segment.transform = CGAffineTransformRotate(segment.transform, 270.0/180*M_PI);

UISlider *slider;
slider.transform = CGAffineTransformRotate(slider.transform, 270.0/180*M_PI);

No comments:

Post a Comment