Is it possible to keep the contentView.frame
always the same, regardless of tableView.editing
? I already tried to override layoutSubviews
Based on Usman.3D
On the storyboard, a property indent While Editing
is checked
by default. It can be unchecked manually. It equals to cell.shouldIndentWhileEditing = NO
.
Have you looked at UITableViewCell
's shouldIndentWhileEditing
and indentationLevel
properties? Those might sort it.
A little late,
but I solved the problem by switching off the Autoresizing Mask for all views in my TableViewCell:
[<viewInCell> setAutoresizingMask:UIViewAutoresizingNone];
Or switch off Autoresizing of width and/or height directly in Interface Builder.