Skip to content

Instantly share code, notes, and snippets.

@deholic
Created November 7, 2012 07:13
Show Gist options
  • Save deholic/4029964 to your computer and use it in GitHub Desktop.
Save deholic/4029964 to your computer and use it in GitHub Desktop.
use transparent background UITableView on iOS 6
table = [[UITableView alloc] initWithFrame:frame style:UITableViewStyleGrouped];
// UITableView setBackgroundColor method is deprecated!
// use setBackgroundView!
[table setBackgroundView:nil];
[table setBackgroundColor:[UIColor clearColor]];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment