123456789101112131415161718 |
- #import "BottomTabsAfterInitialTabAttacher.h"
- #import "UITabBarController+RNNUtils.h"
-
- @implementation BottomTabsAfterInitialTabAttacher
-
- - (void)attach:(UITabBarController *)bottomTabsController {
- [bottomTabsController.selectedViewController setReactViewReadyCallback:^{
- [bottomTabsController readyForPresentation];
- for (UIViewController* viewController in bottomTabsController.deselectedViewControllers) {
- [viewController render];
- }
- }];
-
- [bottomTabsController.selectedViewController render];
- }
-
- @end
|