Reputation: 11231
I want a UIDatePicker View in a smaller size with respect to what it comes with. Is it possible to resize it?
Upvotes: 5
Views: 12370
Reputation: 170317
This is a commonly asked question here:
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.
Upvotes: 6