Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #import "SecretWebView.h"
- @implementation SecretWebView
- -(UIView*)hitTest:(CGPoint)point withEvent:(UIEvent *)event {
- if ([[event allTouches] count] == 0) {
- return self.superview;
- } else {
- return self; //I have tried many things here...
- }
- }
- @end
- return [super hitTest:point withEvent:event];
- return self;
- return origObj; //where origObj was created in first line from the [super ...] call.
Add Comment
Please, Sign In to add comment