Flipkart Search

Search This Blog

Friday, October 8, 2010

UITableView backgroundColor always gray on iPad (fix)

Here is a quick fix to get rid of gray background color on grouped style UITableView.

if ([tableView respondsToSelector:@selector(backgroundView)]){
            tableView.backgroundView = nil;
        [tableView setBackgroundColor:[UIColor clearColor]];
}