react-native-navigation的迁移库

UIViewController+RNNOptions.h 1020B

1234567891011121314151617181920212223242526272829303132333435363738
  1. #import <UIKit/UIKit.h>
  2. @interface UIViewController (RNNOptions)
  3. - (void)rnn_setBackgroundImage:(UIImage *)backgroundImage;
  4. - (void)rnn_setModalPresentationStyle:(UIModalPresentationStyle)modalPresentationStyle;
  5. - (void)rnn_setModalTransitionStyle:(UIModalTransitionStyle)modalTransitionStyle;
  6. - (void)rnn_setSearchBarWithPlaceholder:(NSString *)placeholder;
  7. - (void)rnn_setSearchBarHiddenWhenScrolling:(BOOL)searchBarHidden;
  8. - (void)rnn_setDrawBehindTopBar:(BOOL)drawBehind;
  9. - (void)rnn_setDrawBehindTabBar:(BOOL)drawBehindTabBar;
  10. - (void)rnn_setTabBarItemBadgeColor:(UIColor *)badgeColor;
  11. - (void)rnn_setTabBarItemBadge:(NSString *)badge;
  12. - (void)rnn_setTopBarPrefersLargeTitle:(BOOL)prefersLargeTitle;
  13. - (void)rnn_setNavigationItemTitle:(NSString *)title;
  14. - (void)rnn_setStatusBarStyle:(NSString *)style animated:(BOOL)animated;
  15. - (void)rnn_setStatusBarBlur:(BOOL)blur;
  16. - (void)rnn_setBackButtonVisible:(BOOL)visible;
  17. - (void)rnn_setBackgroundColor:(UIColor *)backgroundColor;
  18. - (BOOL)isModal;
  19. @end