Cuberto / cb-tabbar

MIT License
178 stars 30 forks source link

UnselectedItemTintColor, tintColor #1

Open Dellybro opened 5 years ago

Dellybro commented 5 years ago

tintColor seems to work, but unselectedItemTintColor doesn't seem to be working.

self.tabBar.unselectedItemTintColor = UIColor.gray; self.tabBar.tintColor = UIColor.red

The unselected items are still red, but with a lower opacity it seems.

askopin commented 5 years ago

at the moment different tint colors for selected/unselected states are not supported, will add this feature in next release. P.S. Pull requests are always welcome

Dellybro commented 5 years ago

Cool! If i get some time, i will definitely try to make a pull request

ihassona commented 5 years ago

Hello I tried to set badge number in storyboard and code but it is not shown! How can we show badge when tab is not seleceted