UITableView with transparent background has solid black border
I tried to set up a transparent background on my UITableView
, b开发者_如何学JAVAut I have this black border.
Any ideas?
[tableView setOpaque:NO];
[tableView setBackgroundColor:[UIColor clearColor]];
You just have to clear the background color.
tableView.backgroundColor = [UIColor clearColor];
Now you can see the background image behind the tableView.
精彩评论