只需要在自定义的Cell中添加以下代码即可
override func awakeFromNib() { super.awakeFromNib() layoutMargins = UIEdgeInsets.zero }
iOS9 UITableViewCell separatorInset设置为0分割线还是没有顶到头的问题
原文:http://www.cnblogs.com/Rinpe/p/6100759.html