您的位置:首页 > 产品设计 > UI/UE

如何修改UITableView中SectionTitle的背景色

2012-04-18 07:43 597 查看
UITableViewDelegate中有

- (UIView *) tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section {

UIView *headerView = [[[UIView alloc] initWithFrame:CGRectMake(0, 0, tableView.bounds.size.width, 30)] autorelease];

headerView.backgroundColor = applicationDelegate._app.theme.titleBlockBgColor;

return headerView;

}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: