If you work with car markets:
In your DidLoad view, try:
UIView *superView = self.sizeSlider.superview; [self.sizeSlider removeFromSuperview]; [self.sizeSlider removeConstraints:self.view.constraints]; self.sizeSlider.translatesAutoresizingMaskIntoConstraints = YES; self.sizeSlider.transform = CGAffineTransformMakeRotation(M_PI_2); [superView addSubview:self.sizeSlider];
It does not work with restrictions, so the trick is to remove the restrictions for your uislider. You may need to resize it manually by setting its frame property.
Antzi Mar 06 '14 at 7:07 2014-03-06 07:07
source share