По какой-то причине ни один из моих UITableViewCell
не подсвечивается синим цветом. В IB у меня установлено выделение синим цветом, и у меня нет кода, который переопределяет IB.
Вы замечаете что-нибудь, что может быть причиной этого?
![enter image description here](https://i.stack.imgur.com/vrDDB.png)
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
int showID = [[[singleton.programs objectAtIndex:indexPath.row]objectForKey:@"id"]intValue];
//creates the url and loads the list of products
//NSLog(@"showID: %d", showID);
URLCreator * productsURL = [[URLCreator alloc] initStandard:@"getProgramProductsForList"];
[productsURL addParam:@"id" stringValue:[NSString stringWithFormat:@"%d", showID]];
WebManager *productsWM = [[WebManager alloc]init];
[productsWM load:[productsURL finalURL] withSelector:@selector(parseProducts) object:[NSNumber numberWithInt:showID]];
}
В моей пользовательской ячейке в данный момент нет ничего, кроме `@ property / @ synthesize @, но здесь это так.
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
if (self) {
// Initialization code
}
return self;
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
[super setSelected:selected animated:animated];
// Configure the view for the selected state
}