Ukrywanie separatora UITableView za contentView

Zrobiłem zgrupowany UITableView w iPhone OS 3.0, który wyglądał jak lewy obraz. Rezultatem jest właściwy obraz w systemie OS 3.1.

ImageView znajduje się pod separatorami.

Próbowałem umieścić widok zawartości z przodu. Właściwość separatorStyle wydaje się ignorowana, gdy tableView jest w stylu zgrupowanym (aby sam narysować separator). Zmiana koloru separatora daje wyniki łańcuchów.

Dzięki za pomoc!

Edytuj: To jest kod bez zmian:

static NSString *CellIdentifier = @"Cell";

UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
if (cell == nil) {
    cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] autorelease];
    cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
    cell.textLabel.font = [UIFont boldSystemFontOfSize:18.0];
}

cell.textLabel.text = [[metro.arretDirection objectAtIndex:indexPath.row] name];

NSString* name;
if (indexPath.row == 0) {
    name = @"Begining";
}
else if (indexPath.row + 1 == [metro.arretDirection count]) {
    name = @"End";
}
else {
    if ([[[metro.arretDirection objectAtIndex:indexPath.row] lines] count]== 1) name = @"Little";
    else name = @"Big";
}

UIImage* metroImage = [[UIImage alloc] initWithContentsOfFile:[[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:[NSString stringWithFormat:@"%i%@.png", metro.metroNumber, name]]];
cell.imageView.image = metroImage;
[metroImage release];

return cell;

questionAnswers(2)

yourAnswerToTheQuestion