您的位置:首页 > 其它

设置tableView背景颜色

2014-12-25 13:19 148 查看
[treeTableView setAutoresizingMask:UIViewAutoresizingFlexibleWidth|UIViewAutoresizingFlexibleHeight];

[treeTableView setBackgroundColor:[UIColor blueColor] /*#fff9f4*/];

[treeTableView setSeparatorStyle:UITableViewCellSeparatorStyleSingleLine];

[treeTableView setRowHeight:45.0f];

treeTableView.backgroundView = [[UIView alloc] init];

treeTableView.backgroundColor = [UIColor clearColor];

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