When editing my UITableView, I give the option to move cells to reorder the data. However, The top two cells in the table are cells that give information about all of the cells in the table, and I dont want the user to be able to move information cells into that section. Here is a picture of the problem:

The user shouldn’t be able to drag the cell titled ‘This is bad!!!’ into the section with the ‘Total:’ and ‘New Group…’ cells. Is there a way to control this functionality? I haven’t seen a delegate method that does this, but I could have missed one.
Edit: oops! I just saw that someone else has asked the same question on SO, so I’m going to post the link and close this question. Thanks @fzwo for your help.
tableView:targetIndexPathForMoveFromRowAtIndexPath:toProposedIndexPath:fromUITableViewDelegateis what you’re looking for.In your concrete case, you could also display the header information in the actual
tableView.tableHeaderView. This scrolls like an ordinary cell, but isn’t a cell. It would probably also make sense from a UI perspective, because it is something different than your ordinary cell content.