Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 482 Bytes

README.md

File metadata and controls

17 lines (10 loc) · 482 Bytes

CustomPickerView

Custom horizontal PickerView

UIView transform

var rotationAngle:CGFloat!
rotationAngle = -90 * (.pi/180)

let originalFrame = pickerView.frame

pickerView.transform =  CGAffineTransform(rotationAngle: rotationAngle)
pickerView.frame = originalFrame

Reference