Skip to content

Commit

Permalink
Revert "fix(ios): fix unbalanced view controller transitions causing …
Browse files Browse the repository at this point in the history
…issues on iOS 16+ (#13586)"

This reverts commit 50814d7.
  • Loading branch information
hansemannn committed Sep 10, 2024
1 parent e5e3f33 commit b9932b2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions iphone/Classes/TiUINavigationWindowProxy.m
Original file line number Diff line number Diff line change
Expand Up @@ -393,29 +393,29 @@ - (void)viewWillAppear:(BOOL)animated
UIViewController *parentController = [self windowHoldingController];
[parentController addChildViewController:navController];
[navController didMoveToParentViewController:parentController];
[navController beginAppearanceTransition:YES animated:animated];
[navController viewWillAppear:animated];
}
[super viewWillAppear:animated];
}
- (void)viewWillDisappear:(BOOL)animated
{
if ([self viewAttached]) {
[navController endAppearanceTransition];
[navController viewWillDisappear:animated];
}
[super viewWillDisappear:animated];
}

- (void)viewDidAppear:(BOOL)animated
{
if ([self viewAttached]) {
[navController beginAppearanceTransition:YES animated:animated];
[navController viewDidAppear:animated];
}
[super viewDidAppear:animated];
}
- (void)viewDidDisappear:(BOOL)animated
{
if ([self viewAttached]) {
[navController endAppearanceTransition];
[navController viewDidDisappear:animated];
}
[super viewDidDisappear:animated];
}
Expand Down

0 comments on commit b9932b2

Please sign in to comment.