react-native-navigation的迁移库

RNNOverlayOptions.m 329B

1234567891011121314
  1. #import "RNNOverlayOptions.h"
  2. #import <React/RCTRootView.h>
  3. @implementation RNNOverlayOptions
  4. - (void)applyOn:(UIViewController *)viewController {
  5. if (self.interceptTouchOutside) {
  6. RCTRootView* rootView = (RCTRootView*)viewController.view;
  7. rootView.passThroughTouches = ![self.interceptTouchOutside boolValue];
  8. }
  9. }
  10. @end