UIScrollView eating touches from its parent

Posted by Jon Hull on Stack Overflow See other posts from Stack Overflow or by Jon Hull
Published on 2010-06-16T01:47:21Z Indexed on 2010/06/16 1:52 UTC
Read the original article Hit count: 240

Filed under:
|
|
|

I have nested scrollViews (or rather a subclass of UIScrollView inside of an actual scrollview). I set the size of the inner view to its contentSize and set scrollEnabled = NO, because I only want the outside view scrolling. But the innerView occasionally eats touches and keeps the outerView from scrolling when it should.

Is there something else I need to set to keep it from stealing the scrolling touches, but still allowing user interaction (e.g. editing a textView)?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about cocoa-touch