Hi guys I know this the GS forum but the developer ones are down, does anybody know how to change the text color in a UITableView, in the ViewDidLoad protocol?
Okay, so UITableView supports "backgroundColor" from its inheriting from UIView. The UITableViewCells, used within a UITableView, support "textColor" and "selectedTextColor" as well as "backgroundColor" from them also inheriting from UIView.
And remember, setting color properties to "nil" raises exceptions.
Comments
`[myView setTextColor:[UIColor whiteColor]];`
and for background:
`[myView setBackgroundColor:[UIColor blackColor]];`
Most UI views/controls are descendants of UIView, so maybe something similar for the UITableView?
something.textcolor = [UIColor WhiteColor];
And remember, setting color properties to "nil" raises exceptions.
http://public.me.com/ideveloperz
It is famoosh.png