I have a subclass of UIScrollView
, and override all 4 Touches functions for it. In those Touches functions,
[[self nextResponder] Touches...]
and [super Touches...]
are used to pass the touches events.
Also I have a view controller in which I override all 4 Touches functions too. In the Controller, I set the self.view
as: self.view = subclass of UIScrollview;
Before iOS 5, when there are touches move on the scrollview, the view controller's touch functions can receive all touch begin/move/end/cancel calls. But in iOS 5, they can't, only one touchesBegan
and one touchesMove
are received.
From the log of the code, touch functions in the UIScrollView
's subclass are always called.
Also, If I set the subclass.enableUserInteraction=NO
, the touches function in view controller will be called well. But I need the scrollview to have interaction with user, so I can't set it to no.
Is there anything different I missed in iOS 5? Thank you in advance.