react-native-navigation的迁移库

RNNOverlayWindow.m 299B

12345678910111213141516
  1. #import "RNNOverlayWindow.h"
  2. @implementation RNNOverlayWindow
  3. - (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event {
  4. UIView *hitTestResult = [super hitTest:point withEvent:event];
  5. if ([hitTestResult isKindOfClass:[UIWindow class]]) {
  6. return nil;
  7. }
  8. return hitTestResult;
  9. }
  10. @end