views:

36

answers:

1

I use just UITableViewCell. it occur only in real device(version 3.1.2) and in simulator(version 3.1.2) doesn't have any problem.

thank you for your advice.

here is my problem image (I'm new in here, so I can't attach image) http://www.freeimagehosting.net/image.php?00252c143c.png

A: 

It seems like a bug to me, but a workaround is to set cell.detailTextLabel.text = @""; if you don't want any text to appear on the right side of the cell. Or If there are empty rows try filling it with @""

switch (indexPath.row) {
    case 0:
        cell.textLabel.text = @"";
        break;
    case 1:
                [cell addSubview:label];
        break;
    case 2:
        cell.textLabel.text = @"";
        break;

}

The 0th row and 2nd row don't have any data in them. Hence filled it with @"".

black2842
It's still make me wonder. why it's occur only in my device? In SDK doesn't have problem.