Reputation: 3409
Picker normally shows 5 items without scrolling. Is there a way to increase the size of the picker to show up to 8 items without scrolling. Please help.
Upvotes: 0
Views: 291
Reputation: 243156
Kind of. UIPickerViews
can only be a certain number of points tall (easy enough to find out what those are yourself), but you can fiddle around with the height of the items in the UIPickerView
using the -pickerView:rowHeightForComponent:
delegate method. If you return a small enough number, you could fit about 200 items in a UIPickerView
all at once. They'd all be a single point tall, but you get the idea...
Upvotes: 1