react-native-navigation的迁移库

BottomTabsPresenterCreator.m 443B

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