Allowing user to select a UIPickerView row by tapping.

Posted by camilo on Stack Overflow See other posts from Stack Overflow or by camilo
Published on 2010-03-08T17:28:49Z Indexed on 2010/03/09 0:51 UTC
Read the original article Hit count: 466

Hi.

I'm trying to use a UIPicker View with a behavior somehow different of what's usually seen in iPhone code examples.

What I want to do is to allow users to scroll through the picker contents, but not to select a picker's row automatically (using the "didSelectRow" method from picker's delegate). Instead, I want to allow the user to touch the center row of the picker, which gets highlighted, and becomes the selection.

Is there any way to achieve this?

Thanks in advance.

© Stack Overflow or respective owner

Related posts about uipickerview

Related posts about iphone