react-native-navigation的迁移库

12345678910111213141516171819
  1. #import "RNNTestBase.h"
  2. @interface RNNTestBase ()
  3. @property(nonatomic, strong) UIWindow *window;
  4. @end
  5. @implementation RNNTestBase
  6. - (void)setupTopLevelUI:(UIViewController *)withViewController {
  7. [withViewController viewDidLoad];
  8. [withViewController viewWillAppear:YES];
  9. [withViewController viewDidAppear:YES];
  10. }
  11. - (void)tearDownTopLevelUI:(UIViewController *)withViewController {
  12. [withViewController viewWillDisappear:YES];
  13. [withViewController viewDidDisappear:YES];
  14. }
  15. @end