2

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.

rickharrison
  • 4,867
  • 4
  • 35
  • 40
  • What do you want to do that differs from the inherited behavior? – NSResponder Apr 16 '10 at 23:35
  • I need something under the UIScrollView to get the event first, so I set userInteractionEnabled on the UIScrollView to NO. Then, I want to "copy" the event and pass it to the scroll view. – rickharrison Apr 17 '10 at 00:16

0 Answers0