Alex Rivera | Logout

How to change UIPickerView height

Asked 2009-02-22T00:04:26.363
118

Is it possible to change the height of UIPickerView? Some applications seem to have shorter PickerViews but setting a smaller frame doesn't seem to work and the frame is locked in Interface Builder.

Edit
Report

1 Answer

40

Try:

pickerview.transform = CGAffineTransformMakeScale(.5, 0.5);
answered 2011-06-16T04:55:12.220

Your Answer