设置UITableViewCell
的透明度:
cell.backgroundColor = [UIColor clearColor];
cell.backgroundView=nil;
准确来说,这样的设置是使UITableViewCell
完全透明的。
设置UITableView
的透明度:
self.tableView.backgroundView.alpha=0.9;
不要设置UITableView
的背景色。
设置UITableViewCell
的透明度:
cell.backgroundColor = [UIColor clearColor];
cell.backgroundView=nil;
准确来说,这样的设置是使UITableViewCell
完全透明的。
设置UITableView
的透明度:
self.tableView.backgroundView.alpha=0.9;
不要设置UITableView
的背景色。