Paul Woidke Paul Woidke - 2 years ago 211
iOS Question

Changing UIPickerView row height

I'm working on a program for a class I'm taking and part of the program requires a

with images in it. I have the picker up and running, but the height of the rows in the picker are still too small, causing the images (100x100) to overlap. I'm looking for a way to change the
so that the images will fit in one row, without overlapping. Thanks

Answer Source

In the documentation for the UIPickerView, you have a link to the UIPickerViewDelegate protocol. There is a method that you can implement, pickerView:rowHeightForComponent:.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download