Try adding [cell.contentView addSubview:scanQRCodeButton];
or if you want the button to the left side look at my question at the answer, to move the textLabel
to the side. If you want the button to the right then just set it as your accesoryView
like this cell.accesoryView = scanQRCodeButton;
.