I've got a UITableView that is sortable, but that's it. Right now, I have all the cells set to UITableViewCellEditingStyleNone, but this still moves the开发者_StackOverflow中文版 TextLabel of the cell over to the right by 40 pixels. Is there anyway to get edit mode, and the sort icon at the right, without shifting the TextLabel over?
What you want is - tableView: shouldIndentWhileEditingRowAtIndexPath:
in the delegate. Have that return NO
.
精彩评论