UITableView *tableView = [[UITableView alloc] initWithFrame:self.view.bounds style: UITableViewStyleGrouped];//
UITableViewStyleGrouped为分组样式
tableView.dataSource = self;tableView.delegate = self;
tableView.backgroundView = nil;
tableView.backgroundColor = [UIColor clearColor];[self.view addSubview:tableView];
目前对于这个问题的解决方法是将Group类型的tableView的backgroundView设为一个新的空白View或简单的设置为nil.如下
tableView.backgroundView = [[UIView alloc]init]; tableView.backgroundColor = [UIColor clearColor];
或
tableView.backgroundView = nil; tableView.backgroundColor = [UIColor clearColor];
原文:http://www.cnblogs.com/zyqf1234/p/3528927.html