Swift UITableView didSelectRowAtIndexPath not getting called

前端 未结 10 2186
野的像风
野的像风 2021-02-06 23:18

New to IOS development and am having trouble with handling cell selection on a table. Whenever I select, the method is not getting called below - any idea why?

My proje

10条回答
  •  我寻月下人不归
    2021-02-06 23:48

    SWIFT 3

        func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
          // Do here
        }
    

    Use the above delegate method in swift 3

提交回复
热议问题