I have four UIImageViews
placed on a circular UIView
. Dragging the UIView
rotates the view. But when I drag the UIImageView, the rotation does not occur. The UIImageView is eating the touches.
I subclassed the UIImageView and tried this:
- (void) touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event {
[self.superview touchesMoved:touches withEvent:event];
[super touchesMoved:touches withEvent:event];
}
That doesn't seem to solve the problem. I tried disabling touches on the UIImageView
- [imageView setUserInteraction:NO]
. That doesn't solve the problem either. I know there are similar questions been asked. But none seem to solve my problem.
Thanks.