UITableView scrollable background , UITableViewCell transparency
- by f0rz
Hi!
In my UITableView I have custom cells. My UITableView have a repeatable background
myTableView.backgroundColor = [UIColor colorWithPatternImage:
[UIImage imageNamed: @"backg.png"]];
I set my cells to have their background (clear);
UIView *backView = [[[UIView alloc] initWithFrame:CGRectZero] autorelease];
backView.backgroundColor = [UIColor clearColor];
cell.backgroundView = backView;
This makes the cell have the same background as the TableView..
Problem is;
That seems that every cell loads myTableView.backgroundColor once again. And the background are not being repeatble as it should. I want to have the cells totally with no background at all, instead they loads up myTableView.backgroundColor once again.
Here is one example.
Can anyone help me?