views:

98

answers:

0

Hi everyone.

I encountered a wierd problem. In my UITableView, I am able to move a row from a section to another, but if I change the size of my rows, it doesn't work anymore. I can still move resized rows in their own section, but not in another one. I implement two methods for my row reordering process:

- (void)tableView:(UITableView *)tableView moveRowAtIndexPath:(NSIndexPath *)fromIndexPath toIndexPath:(NSIndexPath *)toIndexPath

and

- (NSIndexPath *)tableView:(UITableView *)tableView targetIndexPathForMoveFromRowAtIndexPath:(NSIndexPath *)sourceIndexPath toProposedIndexPath:(NSIndexPath *)proposedDestinationIndexPath

What is strange is that it works perfectly with the default row size.

Any idea where the problem comes from?