react-native-navigation的迁移库

BottomTabsAfterInitialTabAttacher.m 554B

123456789101112131415161718
  1. #import "BottomTabsAfterInitialTabAttacher.h"
  2. #import "UITabBarController+RNNUtils.h"
  3. @implementation BottomTabsAfterInitialTabAttacher
  4. - (void)attach:(UITabBarController *)bottomTabsController {
  5. [bottomTabsController.selectedViewController setReactViewReadyCallback:^{
  6. [bottomTabsController readyForPresentation];
  7. for (UIViewController* viewController in bottomTabsController.deselectedViewControllers) {
  8. [viewController render];
  9. }
  10. }];
  11. [bottomTabsController.selectedViewController render];
  12. }
  13. @end