I have a simple leader boards table for an iphone game that allows me to view the previous high scores however the background is black and therefore it is not visible. I am using the code:
[highscores addObject:[NSArray arrayWithObjects:@"Title",[NSNumber numberWithInt:5000],nil]];
Can I change the colour easily?
All help greatly appreciated, I expect it is simple but google is coming back with little.
Thanks in advanced!
changing the color is not related with an Array.Its related with the container who displays the Title .
you may binding the Title string to any UILabel.
So you have to set the textColor property to white.
Eg: label1.textColor = [UIColor whiteColor];