UITableViewCell分隔线

// cell默认分隔线左边有间距,把left设为0就没了
tbv.separatorInset = UIEdgeInsets(top: 0, left: 0, bottom: 0, right: 0)
// 设置cell分隔线颜色
tbv.separatorColor = UIColor.red
原文地址:https://www.cnblogs.com/panda1024/p/6612466.html