xinevil
Apr 13, 2009, 02:42 PM
I have an UITableView which allows selection. After selecting a row, the second section must be reloaded, so I run a [tableView reloadData].
But the problem is that in the "- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath"-function, I do a "[tableView deselectRowAtIndexPath:indexPath animated:YES];".
When the data is reloaded, my cell gets deselected immediately, and I don't see the animation. Is there a way to fix this?
But the problem is that in the "- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath"-function, I do a "[tableView deselectRowAtIndexPath:indexPath animated:YES];".
When the data is reloaded, my cell gets deselected immediately, and I don't see the animation. Is there a way to fix this?
