- #import "RNNOverlayWindow.h"
-
- @implementation RNNOverlayWindow
-
- - (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event {
- UIView *hitTestResult = [super hitTest:point withEvent:event];
-
- if ([hitTestResult isKindOfClass:[UIWindow class]] || [hitTestResult isMemberOfClass:UIView.class]) {
- return nil;
- }
-
- return hitTestResult;
- }
-
- @end
|