UIView *view = [[UIView alloc initWithFrame:CGRectMake(0, 0, 320, 10)];
view.backgroundColor = [UIColor colorWithRed:74.0/255 green:56.0/255 blue:58.0/255 alpha:1.0];
[cell.contentView addSubview:view];
[view release];
在cell里面定义一个view把view的背景设为tableView的背景色,这样就出现间隔了
在cell里面定义一个view把view的背景设为tableView的背景色,这样就出现间隔了