Issue Information
-
#000101
-
Issue
Issue Confirmations
-
Yes (0)No (0)
I'm trying to display a detailButton accessory view for a cell BUT only when its in edit mode
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
iPad
[attachment=581:Screen Shot 2014-12-27 at 7.33.34 pm.png]
iphone
[attachment=580:Screen Shot 2014-12-27 at 7.32.44 pm.png]
demo code
[attachment=582:editcellbug.zip]
.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
iPad
[attachment=581:Screen Shot 2014-12-27 at 7.33.34 pm.png]
iphone
[attachment=580:Screen Shot 2014-12-27 at 7.32.44 pm.png]
demo code
[attachment=582:editcellbug.zip]
0 user(s) are reading this issue
0 members, 0 guests, 0 anonymous users