I disabled the cell indentation while in edit mode.
In the custom cell's layoutSubviews method I added:
The problem is when I click the edit control mark (the minus sign) once to show the delete confirmation button, and then I press the edit control again, the delete confirmation is dismissed but the cell is jumping for some reason.
Here is a video showing the issue:
.
Any idea how I can remove this jumping?
In the custom cell's layoutSubviews method I added:
Code:
float indentPoints = self.indentationLevel * self.indentationWidth;
self.contentView.frame = CGRectMake(indentPoints,
self.contentView.frame.origin.y,
self.contentView.frame.size.width - indentPoints,
self.contentView.frame.size.height
);
The problem is when I click the edit control mark (the minus sign) once to show the delete confirmation button, and then I press the edit control again, the delete confirmation is dismissed but the cell is jumping for some reason.
Here is a video showing the issue:
Any idea how I can remove this jumping?
Last edited by a moderator: