TableView相关属性

1 //是否要显示分隔线
2 tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
3 tableView.separatorStyle = UITableViewCellSeparatorStyleSingleLine;
4 
5 //改变换行线颜色
6 tableView.separatorColor = [UIColor blueColor];
7 //设置tableView的头部位置的按钮或图片 UIImageView UIButton
8 self.tableView.tableHeaherView = [UIButton buttonWithType:UIButtonTypeContactAdd];

 

 
posted @ 2013-08-03 14:17  wangzhenxiang  阅读(134)  评论(0编辑  收藏  举报