This repository has been archived by the owner on Apr 24, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 235
How to Highlight the Tab's Text? #91
Comments
Currently there's not an implementation for this kind of feature, but with a quick thought, it came to my mind that you can track the tab views you're providing to |
@LeeMing988 // Set to-be-inactive tab unselected
activeTabView = [self tabViewAtIndex:self.activeTabIndex];
activeTabView.selected = NO;
labelSubview = activeTabView.subviews[0];
labelSubview.textColor = [UIColor blackColor];
// Set to-be-active tab selected
activeTabView = [self tabViewAtIndex:activeTabIndex];
activeTabView.selected = YES;
labelSubview = activeTabView.subviews[0];
labelSubview.textColor = [UIColor whiteColor]; Hope this could help you. |
Any Update on Highlight the Tab's Text ? |
Here is my solution, referencing @EdwardDing's solution: In
In
Hope @iltercengiz can merge these to next version, along with the Y offset functionalities. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi there, Currently I am using this framework to developing something.
When i am in current tab. I would like the Text Colour to change to white colour. any idea how to did this?
The text was updated successfully, but these errors were encountered: