react-native-navigation的迁移库

UIViewController+RNNOptions.h 1.3KB

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