Created
July 8, 2010 16:02
-
-
Save Lizdo/468217 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (UIView*)hitTest:(CGPoint)point withEvent:(UIEvent *)event { | |
UIView *hitView = [super hitTest:point withEvent:event]; | |
if (hitView == self) | |
//non of my subView's bounds are hit, and I'm transparent | |
return nil; | |
else | |
return hitView; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment