Reputation: 1809
I want to move the minus sign to the right. How do I do that?
Thanks!
Upvotes: 0
Views: 583
Reputation: 25144
I don't know if it's possible, but I'd start by looking into subclassing the UITableViewCell
and overriding its layoutSubviews
method.
But I don't believe you can, you only have access to the contentView
, the accessoryView
, the backgroundView
, not the deleteConfirmationView
. The closest thing you can find in UITableViewCell
's reference is the boolean showingDeleteConfirmation
.
So you could try subclassing the UITableViewCell
and adding your own delete confirmation button where you want, by responding to willTransitionToState:
when the new state is UITableViewCellStateShowingDeleteConfirmationMask
.
Upvotes: 2