Skip to content

Commit

Permalink
[TIMOB-25675] : iOS11 Button in navigation-bar remains in pressed sta…
Browse files Browse the repository at this point in the history
…te when opening new window (#9799)
  • Loading branch information
vijaysingh-axway authored and ewieberappc committed Feb 6, 2018
1 parent 5c974f8 commit bde816e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions iphone/Classes/TiUIiOSNavWindowProxy.m
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,11 @@ - (void)windowClosing:(TiWindowProxy *)window animated:(BOOL)animated

- (void)navigationController:(UINavigationController *)navigationController willShowViewController:(UIViewController *)viewController animated:(BOOL)animated
{
if ([TiUtils isIOSVersionOrGreater:@"11.2"]) {
navigationController.navigationBar.tintAdjustmentMode = UIViewTintAdjustmentModeNormal;
navigationController.navigationBar.tintAdjustmentMode = UIViewTintAdjustmentModeAutomatic;
}

if (!transitionWithGesture) {
transitionIsAnimating = YES;
}
Expand Down

0 comments on commit bde816e

Please sign in to comment.