Instance Method

tableView:shouldIndentWhileEditingRowAtIndexPath:

Asks the delegate whether the background of the specified row should be indented while the table view is in editing mode.

Declaration

- (BOOL)tableView:(UITableView *)tableView shouldIndentWhileEditingRowAtIndexPath:(NSIndexPath *)indexPath;

Parameters

tableView

The table-view object requesting this information.

indexPath

An index-path object locating the row in its section.

Return Value

YES if the background of the row should be indented, otherwise NO.

Discussion

If the delegate does not implement this method, the default is YES. This method is unrelated to tableView:indentationLevelForRowAtIndexPath:.

See Also

Editing Table Rows

- tableView:willBeginEditingRowAtIndexPath:

Tells the delegate that the table view is about to go into editing mode.

- tableView:didEndEditingRowAtIndexPath:

Tells the delegate that the table view has left editing mode.

- tableView:editingStyleForRowAtIndexPath:

Asks the delegate for the editing style of a row at a particular location in a table view.

- tableView:titleForDeleteConfirmationButtonForRowAtIndexPath:

Changes the default title of the delete-confirmation button.