Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

jimhanika

macrumors newbie
Original poster
Jun 3, 2006
15
0
London
Hi All,

I would really like to change the text colour of the only UITableView I have, but so far I would say it can't be done. The UITableView class has a separator control, but nothing I can see that changes the text.

@property(nonatomic, retain) UIColor *separatorColor

Anyone know of a way?
 

davedelong

macrumors member
Sep 9, 2007
50
0
Right here.
Cool, I was wondering this too. How would I change the white background on the table view to black?

You read the documentation on UITableViewCell and notice "Aha! It has a backgroundView property that takes a UIView! That means I can just instantiate a new UIView programmatically, set the background color of that, and then give the UIView to the UITableViewCell as the backgroundView".

Dave
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.