当UITableView的样式为group时,在ios6中要设置其背景色为clear 需要设置tableview.backgroundView = nil;
tableview.backgroundColor = [UIColorclearColor];这样就可以自定义整个背景了。
tableview.backgroundColor = [UIColorclearColor];这样就可以自定义整个背景了。
本文介绍在iOS 6中,当UITableView样式为group时如何将背景色设置为clear的方法。通过设置tableview.backgroundView为nil及tableview.backgroundColor为UIColor clearColor来实现自定义背景。

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