拖动UITableViewCell
时,会调用委托方法- (NSIndexPath *)tableView:(UITableView *)tableView targetIndexPathForMoveFromRowAtIndexPath:(NSIndexPath *)sourceIndexPath toProposedIndexPath:(NSIndexPath *)proposedDestinationIndexPath
。在这个委托方法中,我可以根据它的proposedDestinationIndexPath
设置所选单元的属性。如何在重新订购期间更新UITableViewCell
我的问题是现在如何在移动它的过程中更新单元格内容。我可以在释放移动手柄后更新单元格,但我需要显示更新的值,同时根据其位置(proposedDestinationIndexPath
)向下移动&。
有没有人有一个想法如何实现这一目标?
谢谢@Flex_Addicted。 是我的第一篇文章Stackoverflow ...将关注格式化在未来的职位。 – 2012-03-18 17:33:22
没问题。别客气。 – 2012-03-18 20:20:45