15

Possible Duplicate:
Can you animate a height change on a UITableViewCell when selected?

I'd like to change the height of a UITableViewCell when it gets selected. I'm able to do this by defining

- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath

and calling the tableview's reloadData when the cell gets selected, but I'd like to have the change be animated. Any suggestions on how to go about this?

Community
  • 1
  • 1

1 Answers1

0

Try calling reloadData in an animation block after you have set parameters that will force a new height?

Kendall Helmstetter Gelner
  • 74,769
  • 26
  • 128
  • 150
  • I tried this, didn't work, although I guess it could've depending on what happens in reloadData –  Jun 30 '09 at 18:27