IOS TableViewCell 透明背景

来源:互联网 发布:厦门融信普惠网络借贷 编辑:程序博客网 时间:2024/09/21 06:36
本文来自http://blog.csdn.net/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
0 0