react-native-navigation的迁移库

UIViewController+RNNOptions.h 1.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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)setBackButtonIcon:(UIImage *)icon withColor:(UIColor *)color title:(NSString *)title;
  21. - (void)applyBackButton:(RNNBackButtonOptions *)backButton;
  22. - (BOOL)isModal;
  23. @end