Adjust textLabel highlighted color

This commit is contained in:
Roman Efimov
2013-09-11 10:01:32 -05:00
parent 9f7aaff3e6
commit 5c2cfcbadc

View File

@@ -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];