react-native-navigation的迁移库

UINavigationController+RNNOptions.h 1.1KB

123456789101112131415161718192021222324252627282930313233343536
  1. #import <UIKit/UIKit.h>
  2. @interface UINavigationController (RNNOptions)
  3. - (void)rnn_setInteractivePopGestureEnabled:(BOOL)enabled;
  4. - (void)rnn_setRootBackgroundImage:(UIImage *)backgroundImage;
  5. - (void)rnn_setNavigationBarTestID:(NSString *)testID;
  6. - (void)rnn_setNavigationBarVisible:(BOOL)visible animated:(BOOL)animated;
  7. - (void)rnn_hideBarsOnScroll:(BOOL)hideOnScroll;
  8. - (void)rnn_setNavigationBarNoBorder:(BOOL)noBorder;
  9. - (void)rnn_setBarStyle:(UIBarStyle)barStyle;
  10. - (void)rnn_setNavigationBarFontFamily:(NSString *)fontFamily fontSize:(NSNumber *)fontSize color:(UIColor *)color;
  11. - (void)rnn_setNavigationBarTranslucent:(BOOL)translucent;
  12. - (void)rnn_setNavigationBarBlur:(BOOL)blur;
  13. - (void)rnn_setNavigationBarClipsToBounds:(BOOL)clipsToBounds;
  14. - (void)rnn_setBackButtonIcon:(UIImage *)icon withColor:(UIColor *)color title:(NSString *)title;
  15. - (void)rnn_setNavigationBarLargeTitleVisible:(BOOL)visible;
  16. - (void)rnn_setNavigationBarLargeTitleFontFamily:(NSString *)fontFamily fontSize:(NSNumber *)fontSize color:(UIColor *)color;
  17. - (void)rnn_setBackButtonColor:(UIColor *)color;
  18. @end