Possible Duplicate:
Change background of a grouped UITableView
I am not able to change the background color of UITableView if it is UITableViewStyleGrouped
.
My code :
[addressNewTbl setBackgroundColor:[UIColor redColor]];
Help!
Possible Duplicate:
Change background of a grouped UITableView
I am not able to change the background color of UITableView if it is UITableViewStyleGrouped
.
My code :
[addressNewTbl setBackgroundColor:[UIColor redColor]];
Help!
Instead of setting the background color of the entire
UITableView
, try what happens when you set itsbackgroundView
's background color.Did you try
in cellForRowAtIndexPath datasource method.try setting
You might need to add some code. Try -
[UITableView setBackgroundView: nil];
or you can also do :
Both will work..
You additionally need to disable the background view: