react-native-navigation的迁移库

UIViewController+RNNOptions.h 1.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #import <UIKit/UIKit.h>
  2. @class RNNBottomTabOptions;
  3. @class RNNNavigationOptions;
  4. @class RNNBackButtonOptions;
  5. @interface UIViewController (RNNOptions)
  6. - (void)setBackgroundImage:(UIImage *)backgroundImage;
  7. - (void)setSearchBarWithPlaceholder:(NSString *)placeholder hideNavBarOnFocusSearchBar:(BOOL)hideNavBarOnFocusSearchBar;
  8. - (void)setSearchBarHiddenWhenScrolling:(BOOL)searchBarHidden;
  9. - (void)setDrawBehindTopBar:(BOOL)drawBehind;
  10. - (void)setDrawBehindTabBar:(BOOL)drawBehindTabBar;
  11. - (void)setTabBarItemBadgeColor:(UIColor *)badgeColor;
  12. - (void)setTabBarItemBadge:(NSString *)badge;
  13. - (void)setTopBarPrefersLargeTitle:(BOOL)prefersLargeTitle;
  14. - (void)setNavigationItemTitle:(NSString *)title;
  15. - (void)setStatusBarStyle:(NSString *)style animated:(BOOL)animated;
  16. - (void)setStatusBarBlur:(BOOL)blur;
  17. - (void)setBackButtonVisible:(BOOL)visible;
  18. - (void)setBackgroundColor:(UIColor *)backgroundColor;
  19. - (void)setInterceptTouchOutside:(BOOL)interceptTouchOutside;
  20. - (void)applyBackButton:(RNNBackButtonOptions *)backButton;
  21. - (BOOL)isModal;
  22. @end