fadecutmike
fadecutmike

Reputation: 70

Change size of columns of UIPickerView

My question is how to change the size of columns in a UIPickerView object. I've tried set widthForComponent but this does not make the touch points wider. for example, in the UIDatePicker the day and month columns are wider than the other components. how can this be done?

Thanks!

Upvotes: 0

Views: 255

Answers (1)

rmaddy
rmaddy

Reputation: 318774

You can't change the column widths for a UIDatePicker. For a UIPickerView, you need to implement the pickerView:widthForComponent: delegate method.

Upvotes: 3

Related Questions