Created
August 26, 2016 13:59
-
-
Save canapio/06bd6a7c5476a9bfe892d8e2364abf78 to your computer and use it in GitHub Desktop.
This file contains 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 *hitTestView = [super hitTest:point withEvent:event]; | |
if (hitTestView == self) { | |
hitTestView = nil; | |
} | |
return hitTestView; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment