I wanted to test out some different coloured cells in my iPhone App, and I thought that the same coloured cells as the app store ones would probably suit. Therefore I wanted to try them out. Unfortunately I do not have the colour codes for the cells, does anyone know?
These are the colours in action:

Also, would this code be correct to show them?
- (void)tableView: (UITableView *)tableView willDisplayCell: (UITableViewCell *)cell forRowAtIndexPath: (NSIndexPath *)indexPath {
if ( indexPath.row%2 == 0) {
UIColor *altCellColor = [UIColor colorWithRed:256/256.0 green:237/256.0 blue:227/256.0 alpha:1.0]; /
cell.backgroundColor = altCellColor;
}
if ( indexPath.row%2 == 1) {
UIColor *altCellColor2 = [UIColor colorWithRed:1 green:1 blue:1alpha:1.0];
cell.backgroundColor = altCellColor2;
}
The code you posted looks like it’ll work. The two colors you’re looking for are
and