Skip to content

Commit

Permalink
fix(ios): after appearing Ti.UI.Window.barColor cannot be changed (#1…
Browse files Browse the repository at this point in the history
…1670)

Fixes TIMOB-27868
  • Loading branch information
vijaysingh-axway authored May 4, 2020
1 parent 1ca5f70 commit 707259b
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,12 @@ - (void)setBarColor:(id)color
UINavigationBar *navBar = [[controller navigationController] navigationBar];
[navBar setBarStyle:navBarStyle];
[navBar setBarTintColor:barColor];
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 130000
if ([self shouldUseNavBarApperance]) {
navBar.standardAppearance.backgroundColor = barColor;
navBar.scrollEdgeAppearance.backgroundColor = barColor;
}
#endif
[self refreshBackButton];
}
}
Expand Down

0 comments on commit 707259b

Please sign in to comment.