views:

470

answers:

3

I am new to iphone development .I have displayed a list of contents in a grouped table view.How can set the table background transparent such as i should see the text displayed on the gray-color(default color) background and not on the white color.Please help me out.Thanks.

A: 

UITableView inherits a 'alpha' property from UIView so try changing that :)

willcodejavaforfood
I am using grouped tables how can i change the alpha value for the first table alone
Warrior
So you want the first group in one table to be transparent or do you actually have several tables?
willcodejavaforfood
I want the first group in one table to be transparent
Warrior
Not sure then apart from making the cells themselves transparent or writing your own UITableView
willcodejavaforfood
+2  A: 
table.backgroundColor = [UIColor clearColor]

Marco

Marco
A: 
cell.backgroundColor=[UIColor clearColor]

This worked fine for me.

Warrior