现在的位置: 首页 > 综合 > 正文

设置 UITableView 边框 cell 边框 竖线

2013年06月26日 ⁄ 综合 ⁄ 共 167字 ⁄ 字号 评论关闭

 需引入QuartzCore.framework, 并在相关文件中加入 #import "QuartzCore/QuartzCore.h"

 

self.tableView.layer.borderWidth = 1;
self.tableView.layer.borderColor = [[UIColor blackColor] CGColor];

 

 

 

抱歉!评论已关闭.