Jump to content

Issue Information

  • #000101

  • Issue

Issue Confirmations

  • Yes (0)No (0)

Re-Order cell bug with 2nd edit accessory type

Posted by ozie on 27 December 2014 - 01:42 AM

I'm trying to display a detailButton accessory view for a cell BUT only when its in edit mode
.cellActions.willConfigure = ^(SCTableViewCell *cell, NSIndexPath *indexPath)
        cell.editingAccessoryType = UITableViewCellAccessoryDetailButton;

and to allow re ordering when in edit mode too..
removing this code, when in edit mode the reorder bar is visible in the cells and rows can be reordered
but with the code, when the detailButton is also there, when clicking the reorder bars the detail button flash and gets tapped.. you can not reorder cells

the other problem is the cells are drawn differently on the iPad compared to the same code displayed on an iPhone
the iPad image shows a line drawn between the two accessary images compared to no line when on the iPhones

[attachment=581:Screen Shot 2014-12-27 at 7.33.34 pm.png]

[attachment=580:Screen Shot 2014-12-27 at 7.32.44 pm.png]

demo code

i got around this by building a custom cell :)

0 user(s) are reading this issue

0 members, 0 guests, 0 anonymous users