I have an UITableView
with a custom cell and a custom button for the entering the edit mode as well as a custom accessory button. Everything is working but I want the UIImageView
with two other UILabels
adjacent to it within the cell to be at its X position but only want the "ADD QTY" UILabel
to shift its X position to make room for the accessory button.
If you don't want the contents of the UITableViewCell
to shift, implement the method
- tableView:shouldIndentWhileEditingRowAtIndexPath:
and make it return NO
. This method is a part of UITableViewDelegate
.
To make the ADD QTY move left, you will need to make a custom animation, I think. Animate the label for ADD QTY in this method
- tableView:willBeginEditingRowAtIndexPath:
There is a similar question here. Check it out and tell me if it works. Cheers!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With