New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(ios): update tabbar after trait colection changed #11200
fix(ios): update tabbar after trait colection changed #11200
Conversation
Tests:
|
FR passed. tab group image changes concurrently when mode changes on iOS 13. Name = Mac OS X |
[super _configure]; | ||
} | ||
|
||
- (void)didChangeTraitCollection:(NSNotification *)info | ||
{ | ||
[self updateTabBarItem]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't the UIImage instances use semantic images already and check automatically?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There seems a bug from apple side. See https://stackoverflow.com/questions/57011346/uitabbar-uitabbaritem-and-ios-13s-dark-mode
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay. But traitCollectionDidChange:
fires for iOS 8+ and also if the device is rotated or font scaling is updated. It's minor but should be guarded in a later release to prevent unnecessary UI work.
https://jira.appcelerator.org/browse/TIMOB-27126