我们经常会用段落模式加载一些东西,这时候,边框就比较碍眼了,我们需要去掉它,
1、 cell.backgroundView = [[UIView alloc] initWithFrame:CGRectZero];
2、- (void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath {
[cell setBackgroundColor:[UIColor clearColor]];
cell.textLabel.backgroundColor = [UIColor clearColor];
cell.detailTextLabel.backgroundColor = [UIColor clearColor];
}