Change image of accessory view of a table cell
<p>I wish to replace the icon of UITableViewCellAccessoryDetailButton with a custom icon. I have tried to replace the accessoryView with a UIButton which contains the custom image, but the button is showing like 20 pixels from the right edge of the cell.</p>

<p>Is there a better way to replace the icon, or to move the accessoryview all the way to the right?</p>