iOS6 UITableView的 background颜色的修改

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

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

解决方法:

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

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

原文地址:https://www.cnblogs.com/easonoutlook/p/2699685.html