开发者

How can I pass a UIEvent to a UIScrollView

开发者 https://www.devze.com 2022-12-27 09:33 出处:网络
I am subclassing UIWindow and creating an implementation of sendEvent: as follows: - (void)sendEvent:(UIEvent *)event {

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 touchesB开发者_C百科egan:, etc. messages, but that did not do anything.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号