react-native-navigation的迁移库

BottomTabsPresenterCreator.m 442B

123456789101112131415
  1. #import "BottomTabsPresenterCreator.h"
  2. #import "BottomTabsAppearancePresenter.h"
  3. @implementation BottomTabsPresenterCreator
  4. + (RNNBottomTabsPresenter *)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