Search code examples
iphonexcodeuipickerview

Implement UIPickerView horizontally?


The default scroll setting for a UIPickerView is set to vertical. Is it possible to implement a UIPickerView horizontally?

If so, could you please show me a sample or direct me where to helpful documentation?


Solution

  • you can use CPPickerView .. A custom, configurable, horizontal version of UIPickerView (based on the spinning-wheel or slot-machine metaphor), with an included table cell implementation. Originally intended for condensing the space/rows needed for a multi-option setting.