mirror of
https://github.com/zhigang1992/RETableViewManager.git
synced 2026-06-18 07:29:16 +08:00
Adjust textLabel highlighted color
This commit is contained in:
@@ -72,6 +72,8 @@
|
||||
|
||||
- (void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath
|
||||
{
|
||||
cell.textLabel.highlightedTextColor = [UIColor whiteColor];
|
||||
|
||||
for (UIView *view in cell.contentView.subviews) {
|
||||
if ([view isKindOfClass:[UILabel class]] || [view isKindOfClass:[UITextField class]] || [view isKindOfClass:[UITextView class]])
|
||||
((UILabel *)view).font = [UIFont fontWithName:@"Avenir-Medium" size:16];
|
||||
|
||||
Reference in New Issue
Block a user