react-native-navigation的迁移库

RNNModalManager.h 502B

123456789101112131415
  1. #import <Foundation/Foundation.h>
  2. #import <UIKit/UIKit.h>
  3. #import "RNNStore.h"
  4. @interface RNNModalManager : NSObject
  5. @property (nonatomic, strong) UIViewController<RNNRootViewProtocol>* toVC;
  6. - (instancetype)initWithStore:(RNNStore*)store;
  7. - (void)showModal:(UIViewController*)viewController animated:(BOOL)animated completion:(RNNTransitionCompletionBlock)completion;
  8. - (void)dismissModal:(NSString *)componentId completion:(RNNTransitionCompletionBlock)completion;
  9. - (void)dismissAllModals;
  10. @end