I want a UIDatePicker View in a smaller size with respect to what it comes with. Is it possible to resize it?
Asked
Active
Viewed 1.2k times
1 Answers
6
This is a commonly asked question here:
- How to change UIPickerView height
- UIPicker sizing in landscape mode
- how to shrink picker view in iphone?
It's not a control that likes to be resized, but you can play some tricks with its frame or with the frame of a UIView you've placed it in. As I describe here, the cleanest way I've found to resize this control is by placing it within a hosting UIView, then applying an affine transform to scale that hosting view down.

Community
- 1
- 1

Brad Larson
- 170,088
- 45
- 397
- 571