ios - UITableView deselects cell when entering edit mode -
i want enter edit mode when user selects cell (if not in edit mode) , exit edit mode when user selects selected cell (and in edit mode, obviously). have working except slight problem: when table view not in edit mode , user selects cell, cell highlights "deselects", ie. selected background flashes , disappears. have confirmed after call setediting:animated:
tableview's selected cell nil. want maintain selected cell after call setediting:animated:
unfortunately, calling selectrow:animated:scrollposition:
after setediting:animated:
doesn't select cell.
check table view's editing property. select single selection during editing
Comments
Post a Comment