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

enter image description here


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -