iOS6 UITableView的 background颜色的修改

在iOS6里面发现UITableView的背景颜色的修改无法正常运行了。

之前在iOS5里面运行没有任何问题的,看来又要进行系统的适配了,过段时间还要进行屏幕的适配

解决方法:

tableView.backgroundColor =[UIColor blueColor];
tableView
.backgroundView =nil;

使用以上两行代码即可解决。

 

posted on 2012-09-24 10:26  easonoutlook  阅读(1279)  评论(0编辑  收藏  举报