-
Notifications
You must be signed in to change notification settings - Fork 501
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
Change the Title Color #52
Comments
There's no any methods for developers to custom the title color, though, I've found a workaround. Go to the file RDVTabBarItem.m , check line 73 and line 79, you can adjust these two line for unselectedTitleColor. It works, but quite not elegant. |
@rajatmohanty @scorpiohjx there is a solution: for RDVTabBarItem, setSelectedTitleAttributes: & setUnselectedTitleAttributes: those 2 method will do help! ps.attr:@{NSForegroundColorAttributeName: [UIColor yourColor]} |
Thanks a lot @litt1e-p ! I had been trying to figure out the values for the NSDictionary argument. I didn't have any issues finding this method, but being a noob to Objective-C and Xcode, I did have an issue finding the supported keys. |
@apwelsh 🎉🎉 |
Currently i am facing issue w.r.t changing color of the tab bar title.
I want when tab bar is selected it should displayed different title color and when it is unselected it should displayed different title color.
How to achieve this?
The text was updated successfully, but these errors were encountered: