i’ve got a tableview. inside this, i have a tableviewcell with a horizontal scrollview inside it.
it works fine, but if i start scrolling horizontal inside a tableviewcell and move a bit up or down, the horizontal scrolling stops and the tableview gets scrolled.
is there a way to prevent the tableview from scrolling while scrolling horizontal inside a tableviewcell?
thanks for all help
try
scrollView.canCancelContentTouches = NOIf that doesn’t work you may have to do more complicated handling of touch events by subclassing UIScrollView. (Look at
touchesBegan:event:, touchesMoved:event:, touchesEnded:event:, touchesCancelled:event:)