2010-08-28 15 views

回答

0

tableView:targetIndexPathForMoveFromRowAtIndexPath:toProposedIndexPath:

if (proposedDestinationIndexPath.section == sourceIndexPath.section) 
    return sourceIndexPath; 

這將導致該行返回到它的源indexpath如果它試圖將部分移動到與原始索引路徑不同的部分

相關問題