开发者

Put a UITableView into editing mode without moving the TextLabel?

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜