react-native-navigation的迁移库

UIViewController+RNNOptions.h 1.1KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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 hideNavBarOnFocusSearchBar:(BOOL)hideNavBarOnFocusSearchBar;
  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. - (void)rnn_setInterceptTouchOutside:(BOOL)interceptTouchOutside;
  19. - (BOOL)isModal;
  20. @end