I'm set editing mode for UITableView to have a possibility of cell reordering. UITableViewCellEditingStyleNone is returned by editingStyleForRowAtIndexPath: method for every cell, but it reserve some area on the left of cell. Is it possible to prevent such an area reserving, because I'm not need an insert or delete icon on left? In short, i want have a cell that occupate all available area and still can be reordered.
views:
207answers:
2
+1
Q:
How to prevent UITableView from reserving space at the left of cell when editing is turned on ?
+1
A:
See the docs: You can set a boolean on the cell to make it not indent. Just add
cell.shouldIndentWhileEditing = NO;
to wherever you create your cell.
coneybeare
2010-02-22 14:33:49
Thanks a lot, it works. Miss that option somewhat :( I'm use- (BOOL)tableView:(UITableView *)tableView shouldIndentWhileEditingRowAtIndexPath:(NSIndexPath *)indexPath{ return NO;}because i need it for all cells.
Yuriy Zhyromskiy
2010-02-22 14:37:45