react-native-navigation的迁移库

BottomTabPresenterCreator.m 430B

123456789101112131415
  1. #import "BottomTabPresenterCreator.h"
  2. #import "BottomTabAppearancePresenter.h"
  3. @implementation BottomTabPresenterCreator
  4. + (BottomTabPresenter *)createWithDefaultOptions:(RNNNavigationOptions *)defaultOptions {
  5. if (@available(iOS 13.0, *)) {
  6. return [[BottomTabAppearancePresenter alloc] initWithDefaultOptions:defaultOptions];
  7. } else {
  8. return [[BottomTabPresenter alloc] initWithDefaultOptions:defaultOptions];
  9. }
  10. }
  11. @end