How can I pass a UIEvent to a UIScrollView

Posted by rickharrison on Stack Overflow See other posts from Stack Overflow or by rickharrison
Published on 2010-04-16T21:08:08Z Indexed on 2010/04/16 21:13 UTC
Read the original article Hit count: 319

I am subclassing UIWindow and creating an implementation of sendEvent: as follows:

- (void)sendEvent:(UIEvent *)event {
    [super sendEvent:event];

    // Send event to UIScrollView here
}

How can I send the event to a UIScrollView. I tried calling the touchesBegan:, etc. messages, but that did not do anything.

© Stack Overflow or respective owner

Related posts about uiwindow

Related posts about iphone