转载自http://blog.youkuaiyun.com/caoyangbeijing/article/details/8835443
UITableViewStyleGrouped风格时给其背景颜色
[theTableView setBackgroundView:nil];
[theTableView setBackgroundColor:dBackGroundColor];
//theTableView为自定义的UITableView
//dBackGroundColor 为自定义的背景颜色