[myTableView setBackgroundView:nil];
via UITableView backgroundColor always gray on iPad – Stack Overflow.
I ran into this problem where the view backgrounds were always gray. Confusing!
As the post stats, try one of these:
1 2 3 4 5 6 7 |
[myTableView setBackgroundView:nil]; [myTableView setBackgroundView:[[[UIView alloc] init] autorelease]; I tried the first - ignoring the warnings as a test - and it worked. This is for an internal/prototype app so I'll wait to see if I get in trouble before heeding the warnings. :) Living on the EDGE! |