When editing, `UITableView` does not call didSelectRowAtIndexPath ??

前端 未结 4 735
遥遥无期
遥遥无期 2020-12-29 18:11

I have a UITableViewController where the user should be able to edit the items. In order to enable editing I use this :

self.navigationItem.righ         


        
4条回答
  •  南笙
    南笙 (楼主)
    2020-12-29 18:37

    You gotta set the allowsSelectionDuringEditing property of UITableView to true.

    Reference: UITableView - allowsSelectionDuringEditing

提交回复
热议问题