react-native-navigation的迁移库

UIViewController+RNNOptions.h 1.3KB

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