react-native-navigation的迁移库

1234567891011121314151617181920212223242526272829303132333435363738
  1. #import <Foundation/Foundation.h>
  2. #import <UIKit/UIKit.h>
  3. #define STYLE_TAB_BAR_HIDDEN @"tabBarHidden"
  4. #define STYLE_STATUS_BAR_HIDE_WITH_NAV_BAR @"statusBarHideWithNavBar"
  5. #define STYLE_STATUS_BAR_HIDDEN @"statusBarHidden"
  6. #define STYLE_SCREEN_BACKGROUD_COLOR @"screenBackgroundColor"
  7. #define STYLE_NAV_BAR_BACKGROUND_COLOR @"navBarBackgroundColor"
  8. #define STYLE_NAV_BAR_TEXT_COLOR @"navBarTextColor"
  9. #define STYLE_NAV_BAR_BOTTON_COLOR @"navBarButtonColor"
  10. #define STYLE_STATUS_BAR_TEXT_COLOR_SCHEME @"statusBarTextColorScheme"
  11. #define STYLE_STATUS_BAR_COLOR_SCHEME_LIGHT @"light"
  12. #define STYLE_NAV_BAR_HIDDEN @"navBarHidden"
  13. #define STYLE_NAV_BAR_HIDE_ON_SCROLL @"navBarHideOnScroll"
  14. #define STYLE_DRAW_UNDER_NAV_BAR @"drawUnderNavBar"
  15. #define STYLE_DRAW_UNDER_TAB_BAR @"drawUnderTabBar"
  16. #define STYLE_NAV_BAR_TRANSLUCENT @"navBarTranslucent"
  17. #define STYLE_NAV_BAR_BLUR @"navBarBlur"
  18. #define STYLE_NAV_BAR_SHADOW_IMAGE @"shadowImage"
  19. #define STYLE_NAV_BAR_BACKGROUND_IMAGE @"bgImage"
  20. //#define STYLE_ @""
  21. @interface RNNStyler : NSObject
  22. @property (nonatomic, readonly) BOOL _hidesBottomBarWhenPushed;
  23. @property (nonatomic, readonly) BOOL _statusBarHideWithNavBar;
  24. @property (nonatomic, readonly) BOOL _statusBarHidden;
  25. @property (nonatomic, readonly) BOOL _statusBarTextColorSchemeLight;
  26. @property (nonatomic, readonly) BOOL _navBarHairlineImageView;
  27. -(void)setStyleOnInit:(UIViewController*)viewController styleParams:(NSDictionary*)styleParams;
  28. -(void)setStyleOnAppear:(UIViewController*)vc styleParams:(NSDictionary*)styleParams;
  29. @end