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 committed May 4, 2020
1 parent 3c83fd8 commit 5049d8d
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,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 5049d8d

Please sign in to comment.