CodeGuy
CodeGuy

Reputation: 28905

UIDatePicker changing size

How do I change the size of a UIDatePicker? Setting the frame doesn't seem to work. It only changes the size of the black background on a UIDatePicker, not the actual components within the Picker.

Upvotes: 1

Views: 5141

Answers (2)

John Parker
John Parker

Reputation: 54445

You can only change the width of a UIPickerView.

However, a common user interface solution is to put the picker into an UIActionSheet (or other similar modal dialog).

Upvotes: 2

Marco Peluso
Marco Peluso

Reputation: 458

It's not possible to change the size of a UIDatePicker, afaik.

Upvotes: 0

Related Questions