UITableViewCell分隔线

// cell默认分隔线左边有间距,把left设为0就没了
tbv.separatorInset = UIEdgeInsets(top: 0, left: 0, bottom: 0, right: 0)
// 设置cell分隔线颜色
tbv.separatorColor = UIColor.red

 

posted @ 2017-03-24 17:10  小课桌  阅读(381)  评论(0编辑  收藏  举报