No didSelectRowAtIndexPath() in tableView when editing

前端 未结 1 368
情书的邮戳
情书的邮戳 2021-01-23 15:32

I want to call didSelectRowAtIndexPath(), but the event won\'t be fired, when I\'m in edit-mode. This is my code:

override func viewDidLoad() {
             


        
1条回答
  •  迷失自我
    2021-01-23 16:07

    AFAICS, you problem is that, on your table view, allowsSelectionDuringEditing is set to NO (or false, if you're using Swift).

    0 讨论(0)
提交回复
热议问题