UIDatePicker inside UIScrollView with pages
Posted
by Jason Martens
on Stack Overflow
See other posts from Stack Overflow
or by Jason Martens
Published on 2009-06-01T16:12:25Z
Indexed on
2010/04/21
10:53 UTC
Read the original article
Hit count: 263
I have a UIScrollView with 2 pages, and I can scroll horizontally between them. However, on one of my pages, I have a UIDatePicker, and the scroll view is intercepting the vertical touch events so I can no longer manipulate the date picker (except by clicking or tapping). Is there some way to tell the ScrollView to send the vertical touch events to the date picker, but send the horizontal touch events to the scroll view to switch pages?
© Stack Overflow or respective owner