amis-rpc-design/node_modules/react-native-screens/ios/RNSScreenContainer.h
2023-10-07 19:42:30 +08:00

46 lines
829 B
Objective-C

#ifdef RCT_NEW_ARCH_ENABLED
#import <React/RCTViewComponentView.h>
#else
#endif
#import <React/RCTViewManager.h>
NS_ASSUME_NONNULL_BEGIN
@protocol RNSScreenContainerDelegate
- (void)markChildUpdated;
- (void)updateContainer;
@end
@protocol RNSViewControllerDelegate
@end
@interface RNSViewController : UIViewController <RNSViewControllerDelegate>
- (UIViewController *)findActiveChildVC;
@end
@interface RNSScreenContainerManager : RCTViewManager
@end
@interface RNSScreenContainerView :
#ifdef RCT_NEW_ARCH_ENABLED
RCTViewComponentView <RNSScreenContainerDelegate>
#else
UIView <RNSScreenContainerDelegate, RCTInvalidating>
#endif
@property (nonatomic, retain) UIViewController *controller;
@property (nonatomic, retain) NSMutableArray *reactSubviews;
- (void)maybeDismissVC;
@end
NS_ASSUME_NONNULL_END