本文来自http://blog.youkuaiyun.com/RubyCrow 转载请说明出处
- (void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath
{
cell.backgroundColor = [UIColor clearColor];
cell.backgroundView.backgroundColor = [UIColor clearColor];
}
参见http://stackoverflow.com/questions/1008246/how-to-create-a-uitableviewcell-with-a-transparent-background