全去掉
tableView.separatorStyle = UITableViewCellSeparatorStyle.none
其實就是設置分割線的位置
//要去掉的分割線
if indexPath.row == 9 {
cell?.separatorInset = UIEdgeInsetsMake(0, 0, 0,CGFloat(MAXFLOAT));
}else{
//分割線左邊不空
cell?.separatorInset.left = 0;
}