PDA

View Full Version : how to display text on a UITableViewStyleGrouped background?




sujithkrishnan
Sep 5, 2008, 01:14 AM
Hi all.


Hoe to get the text to appear on a UITableViewStyleGrouped background without a white background for the text..

I made the GROUPED STYLE view for a viewController, added a label with a text...

But the text is coming with label's background (white color)...
Can we make it transparent (Label bground)???

I want something like what i attached.. (Please see the attachment)

I realized that what is in the attchment is not a LABEL, but the name-field is a UITableViewCell only... (But how they make invisible the background of cell?)



mccannmarc
Sep 5, 2008, 02:34 AM
[Label setBackgroundColor:[UIColor clearColor]];

sujithkrishnan
Mar 11, 2009, 11:52 PM
[Label setBackgroundColor:[UIColor clearColor]];

Even though we set clearColor, the tableViewCell is having some white color which is not going transparent...

SO any idea???

North Bronson
Mar 12, 2009, 01:54 AM
You actually want the table *cell* to be transparent? Why? It seems like you'll take quite a performance hit. Apple really makes it sound like those cells should stay opaque.

dejo
Mar 12, 2009, 10:00 AM
Even though we set clearColor, the tableViewCell is having some white color which is not going transparent...

SO any idea???
Can you provide a screenshot to demonstrate the problem?