Get rid of padding for UITableViewCell custom accessoryView

Viewed 1476

I have a table view cell with a custom accessoryView, but it seems that the way it's laid out by default creates a 15-point margin on the right side. I want to get rid of it.

I can achieve the desired effect by overriding layoutSubviews, but that breaks edit mode animation (the accessory no longer slides in/out).

Any better way to do this?

1 Answers
Related