diff --git a/Examples/UIExplorer/UIExplorerIntegrationTests/ReferenceImages/Examples-UIExplorer-js-UIExplorerApp.ios/testTabBarExample_1-iOS10@2x.png b/Examples/UIExplorer/UIExplorerIntegrationTests/ReferenceImages/Examples-UIExplorer-js-UIExplorerApp.ios/testTabBarExample_1-iOS10@2x.png index 4bef6cb3b..76a0324a8 100644 Binary files a/Examples/UIExplorer/UIExplorerIntegrationTests/ReferenceImages/Examples-UIExplorer-js-UIExplorerApp.ios/testTabBarExample_1-iOS10@2x.png and b/Examples/UIExplorer/UIExplorerIntegrationTests/ReferenceImages/Examples-UIExplorer-js-UIExplorerApp.ios/testTabBarExample_1-iOS10@2x.png differ diff --git a/Examples/UIExplorer/js/TabBarIOSExample.js b/Examples/UIExplorer/js/TabBarIOSExample.js index 242124daa..5bb746260 100644 --- a/Examples/UIExplorer/js/TabBarIOSExample.js +++ b/Examples/UIExplorer/js/TabBarIOSExample.js @@ -58,6 +58,7 @@ class TabBarExample extends React.Component { = __IPHONE_10_0 + if ([_tabController.tabBar respondsToSelector:@selector(unselectedItemTintColor)]) { + _tabController.tabBar.unselectedItemTintColor = unselectedItemTintColor; + } +#endif +} + - (UITabBarItemPositioning)itemPositoning { #if TARGET_OS_TV diff --git a/React/Views/RCTTabBarManager.m b/React/Views/RCTTabBarManager.m index 582c1e6fc..833f75662 100644 --- a/React/Views/RCTTabBarManager.m +++ b/React/Views/RCTTabBarManager.m @@ -36,5 +36,6 @@ RCT_EXPORT_VIEW_PROPERTY(tintColor, UIColor) RCT_EXPORT_VIEW_PROPERTY(barTintColor, UIColor) RCT_EXPORT_VIEW_PROPERTY(translucent, BOOL) RCT_EXPORT_VIEW_PROPERTY(itemPositioning, UITabBarItemPositioning) +RCT_EXPORT_VIEW_PROPERTY(unselectedItemTintColor, UIColor) @end