react-native-navigation的迁移库

UIViewController+RNNOptions.h 1006B

12345678910111213141516171819202122232425262728293031323334353637383940
  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. - (BOOL)isModal;
  21. @end