How can I use a UIDatePicker inside of a UIScrollView in my iPhone app. I can’t scroll through the dates on the picker, because it thinks my finger is controlling the UIScrollView instead. I’m trying to add a UIDatePicker to my UIScrollView, which is inside of my UIViewController.
Share
After a few trials, I found the best solution to this problem was to subclass the scroll view that contains your date picker and do a hit test to see whether the user is trying to touch the picker. I found and adapted the code below from this question UIDatePicker inside UIScrollView with pages