Почему эта работа:UITableViewCell нечетной окраска вопрос:
- (void)tableView: (UITableView *)tableView willDisplayCell: (UITableViewCell *)cell forRowAtIndexPath: (NSIndexPath *)indexPath {
cell.backgroundColor = [UIColor redColor];
}
но это не делает?
- (void)tableView: (UITableView *)tableView willDisplayCell: (UITableViewCell *)cell forRowAtIndexPath: (NSIndexPath *)indexPath {
cell.backgroundColor = [UIColor colorWithRed:250 green:100 blue:100 alpha:1];
}
Возможно, меня ограничивают предопределенные цвета UIColor?
их нужно разделить на 255. :) спасибо. –