views:

62

answers:

1

Hi,

I'm trying to make an spinner selection interface like the one in the following. http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2009/10/allRecipies.png

I'm thinking of using rotated UIPickerView to implement it. Do you think it is possible or is there any other better solution?

Thanks in advance.

A: 

These recepies scroll horizontally from left-to-right and back right? Although you can make an UIPickerView to work horizontally (see here). UIPickerView is really ment for vertical scrolling.

In this cituation I would really recommend a series of UIScrollViews that have pagingEnabled property set to YES.

texmex5
Thank you for your recommendation. But one thing is that I want this spinner can be spin by flick gesture as well, just like the date picker does. In paging UIScrollView, we just can swipe pages one by one, isn't it?
Shannon
Oh, you don't have to turn paging on in that case, then it will "spin" or rather slow down like a picker after scroll gesture.
texmex5