Skip to content
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

UnselectedItemTintColor, tintColor #1

Open
Dellybro opened this issue Apr 1, 2019 · 3 comments
Open

UnselectedItemTintColor, tintColor #1

Dellybro opened this issue Apr 1, 2019 · 3 comments

Comments

@Dellybro
Copy link

Dellybro commented Apr 1, 2019

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
Copy link
Contributor

askopin commented Apr 1, 2019

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
Copy link
Author

Dellybro commented Apr 1, 2019

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

@ihassona
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants