hi guys, I have searched a lot!, and check some answers in SO and other sites to accomplish a clear table back groud, but dont know what Im I doing wrong??
here what Im doing in IB / table view
* style grouped
* drawing opaque (not checked)
* background (clear color)
in my .m file
Code:
// Customize the appearance of table view cells.
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
xtbl.backgroundColor = [UIColor clearColor];
static NSString *CellIdentifier = @"Cell";
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
if (cell == nil) {
//cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] autorelease];
cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleSubtitle
reuseIdentifier:CellIdentifier] autorelease];
}
// Configure the cell...
Employee *info = [[eidarray objectAtIndex:indexPath.row] objectAtIndex:0];
NSLog(@"employeeArrayemployeeArray = %@",info.namemployee);
cell.textLabel.font = [UIFont systemFontOfSize:30.0];
cell.textLabel.textAlignment = UITextAlignmentCenter;
cell.textLabel.text = info.namemployee;
return cell;
}
I have tried putting the
Code:
xtbl.backgroundColor = [UIColor clearColor];
in view did load but doesnt work either,
how can I accomplish the clear background??
here how it looks now, I just want the background of the table transparent and the cells as they are,

thanks a lot!