UITableViewCell not respecting shouldIndentWhileEditing = NO

Originator:timothy.broder
Number:rdar://17969970 Date Originated:09-Aug-2014 04:20 PM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode6-Beta5 (6A279r)
Classification:Enhancement Reproducible:Always
 
Summary:
UITableViewCell.shouldIndentWhileEditing = NO is supposed to prevent the cell from sliding to the right and revealing the (-) delete indicator when putting a UITableView in editing mode. Forcing no on the cell or in a UITableViewDelegate’s shouldIndentWhileEditingRowAtIndexPath method seems like it’s being ignored.

I’ve tried setting it:
- On the cell directly
- In interface builder: http://screencast.com/t/TUg7To46vKd0 
- In the appropriate delegate method


Steps to Reproduce:
In a UITableViewDelegate set up the indent method appropriately:
- (BOOL)tableView:(UITableView *)tableview shouldIndentWhileEditingRowAtIndexPath:(NSIndexPath *)indexPath
{
    NSLog(@"shouldIndentWhileEditingRowAtIndexPath");
    return NO;
}

Larger example: https://gist.github.com/broderboy/7a2556424e498afe6ce6

Expected Results:
The (-) delete indicator does not show when putting the UITableView into edit mode

Actual Results:
The (-) delete indicator is showing when in edit mode

Notes:
Xcode6-Beta5 (6A279r)

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!