UITableView * tableView = [[UITableView alloc] init...];
1. 怎样设置背景色为透明?
tableView.backgroundView = [[UIView alloc] init];
tableView.backgroundColor = [UIColor clearColor];
或
tableView.backgroundView = nil;
tableView.backgroundColor = [UIColor clearColor];
2. 怎样去除边框线?
tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
tableView.separatorColor = [UIColor clearColor];
3. 怎样设置section之间的间距?
tableView.sectionHeaderHeight = 0;
tableView.sectionFooterHeight = 10;