react-native-navigation的迁移库

BottomTabsOnSwitchToTabAttacher.m 364B

1234567891011121314
  1. #import "BottomTabsOnSwitchToTabAttacher.h"
  2. @implementation BottomTabsOnSwitchToTabAttacher
  3. - (void)attach:(UITabBarController *)bottomTabsController {
  4. [bottomTabsController.selectedViewController setReactViewReadyCallback:^{
  5. [bottomTabsController readyForPresentation];
  6. }];
  7. [bottomTabsController.selectedViewController render];
  8. }
  9. @end