3 回答


程序猿天璇
TA贡献22条经验 获得超12个赞
[tableview setSeparatorColor:[UIColor blueColor]]; //设置分割线为蓝色
隐藏UITableViewCell的分隔线
[self.myTableView setSeparatorStyle:UITableViewCellSeparatorStyleNone];
UITableViewCellSeparatorStyle有如下几种 :
typedef NS_ENUM(NSInteger, UITableViewCellSeparatorStyle) {
UITableViewCellSeparatorStyleNone,
UITableViewCellSeparatorStyleSingleLine,
UITableViewCellSeparatorStyleSingleLineEtched // This separator style is only supported for grouped style table views currently
};
- 3 回答
- 0 关注
- 1961 浏览
添加回答
举报
0/150
提交
取消