You just need to take 3 steps to make background to
transparent for UITableView
UIView *backView = [[[UIView alloc] initWithFrame:CGRectZero] autorelease];
backView.backgroundColor = [UIColor clearColor];
cell.backgroundView = backViews;
UIView *backView = [[[UIView alloc] initWithFrame:CGRectZero] autorelease];
backView.backgroundColor = [UIColor clearColor];
cell.backgroundView = backViews;
本文介绍了一种简单的方法来实现UITableView的背景透明效果。只需三个步骤:首先创建一个UIView并将其frame设置为CGRectZero;然后将这个UIView的背景颜色设置为透明;最后将这个UIView设置为cell的backgroundView。
391

被折叠的 条评论
为什么被折叠?



