react-native-navigation的迁移库

RNNBottomTabsPresenter.m 478B

12345678910111213141516171819
  1. #import "RNNBottomTabsPresenter.h"
  2. @implementation RNNBottomTabsPresenter
  3. - (void)applyBackgroundColor:(UIColor *)backgroundColor translucent:(BOOL)translucent {
  4. [self setTabBarTranslucent:translucent];
  5. [self setTabBarBackgroundColor:backgroundColor];
  6. }
  7. - (void)setTabBarBackgroundColor:(UIColor *)backgroundColor {
  8. self.tabBar.barTintColor = backgroundColor;
  9. }
  10. - (void)setTabBarTranslucent:(BOOL)translucent {
  11. self.tabBar.translucent = translucent;
  12. }
  13. @end