I have a UIScrollView, inside it, a small UIView containing a UIPickerView. I can scroll the view up and down, but whenever I try to scroll the collector, it scrolls the view instead. I can change the value of the selection by clicking on it, but not scrolling.
Any ideas?
EDIT: I just tried it scrollView.canCancelContentTouches = NO;, but it only works on the first touch and then drag and drop, as in the TouchesBegan event. ScrollView still scrolls, if I touch - move the Picker, as in the TouchesMoved event.
What can I do to give my Picker its natural behavior in ScrollView?
source
share