react-native-navigation的迁移库

InteractivePopGestureDelegate.h 639B

123456789101112131415161718192021
  1. //
  2. // InteractivePopGestureDelegate.h
  3. // ReactNativeNavigation
  4. //
  5. // Created by Arman Dezfuli-Arjomandi on 1/10/19.
  6. // Copyright © 2019 Wix. All rights reserved.
  7. //
  8. //
  9. // This file is adapted from the following StackOverflow answer:
  10. // https://stackoverflow.com/questions/24710258/no-swipe-back-when-hiding-navigation-bar-in-uinavigationcontroller/41895151#41895151
  11. #import <UIKit/UIKit.h>
  12. @interface InteractivePopGestureDelegate : NSObject <UIGestureRecognizerDelegate>
  13. @property (nonatomic, weak) UINavigationController *navigationController;
  14. @property (nonatomic, weak) id<UIGestureRecognizerDelegate> originalDelegate;
  15. @end