I use a UIScrollView to show a serial of UIImageView(the UIImageView is added as subview of scrollview), the problem is that I have rewrote the method in UIImageView:
-(void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event
But when I click the image , the method is not called, it seems that the image did not receive the click event. What is the exact reason? How can I fix this?
(I have enable the exclusiveTouch of the UIImageView and the User Interavtion of all the view)
set
and if you just want a tap event for the imageview
just use the UITapGestureRecognizer
then you must implement the method