1、tableView.backgroundColor = [UIColor clearColor];

2、self.backgroundColor = dGray;(uitableviewcell)

注:

如果设置为self.contentView.backgroundColor = dGray;没有效果,

如果设置为self.backgroundColor = [UIColor clearColor];没有效果

#define dGray [UIColor colorWithHexString:@"0xeeeeee" andAlpha:1]

开始是cell中设置contentview.backgroundColor = [uicolor clearColor];不行

 

posted on 2016-07-15 18:17  火星的蝈蝈  阅读(444)  评论(0编辑  收藏  举报