react-native-navigation的迁移库

UINavigationController+RNNOptions.h 1.1KB

123456789101112131415161718192021222324252627282930313233343536
  1. #import <UIKit/UIKit.h>
  2. @interface UINavigationController (RNNOptions)
  3. - (void)setInteractivePopGestureEnabled:(BOOL)enabled;
  4. - (void)setRootBackgroundImage:(UIImage *)backgroundImage;
  5. - (void)setNavigationBarTestId:(NSString *)testID;
  6. - (void)setNavigationBarVisible:(BOOL)visible animated:(BOOL)animated;
  7. - (void)hideBarsOnScroll:(BOOL)hideOnScroll;
  8. - (void)setNavigationBarNoBorder:(BOOL)noBorder;
  9. - (void)setBarStyle:(UIBarStyle)barStyle;
  10. - (void)setNavigationBarFontFamily:(NSString *)fontFamily fontSize:(NSNumber *)fontSize fontWeight:(NSString *)fontWeight color:(UIColor *)color;
  11. - (void)setNavigationBarTranslucent:(BOOL)translucent;
  12. - (void)setNavigationBarBlur:(BOOL)blur;
  13. - (void)setNavigationBarClipsToBounds:(BOOL)clipsToBounds;
  14. - (void)setNavigationBarLargeTitleVisible:(BOOL)visible;
  15. - (void)setNavigationBarLargeTitleFontFamily:(NSString *)fontFamily fontSize:(NSNumber *)fontSize fontWeight:(NSString *)fontWeight color:(UIColor *)color;
  16. - (void)setBackButtonColor:(UIColor *)color;
  17. - (void)setBackButtonIcon:(UIImage *)icon withColor:(UIColor *)color title:(NSString *)title showTitle:(BOOL)showTitle;
  18. @end