iOS开发之设置UITableView的headerView字体
作者:
Ego_1973 | 来源:发表于
2017-01-09 12:02 被阅读0次
- (void)tableView:(UITableView *)tableView willDisplayHeaderView:(UIView *)view forSection:(NSInteger)section
{
UITableViewHeaderFooterView *header = (UITableViewHeaderFooterView *)view;
header.contentView.backgroundColor= [UIColor whiteColor];
header.textLabel.text = @"我的商家卡列表";
[header.textLabel setFont:[UIFont systemFontOfSize:14]];
}
本文标题:iOS开发之设置UITableView的headerView字体
本文链接:https://www.haomeiwen.com/subject/klthbttx.html
网友评论