iOS的UITableView分割线默认是都会显示的,但实际开发中,需求设计基本上是不需要的,此时可以通过下面的代码去除多余的分割线
//UITableView去除多余的分割线
tableView.tableFooterView = [[UIView alloc] initWithFrame:CGRectZero];
去除分割线,以及更改分割线的颜色可以通过
//设置分割线style
tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
//设置分割线颜色
[tableView setSeparatorColor:[UIColor redColor]];