首页 › 答案 › 题库 › 慕课 › 未分类

若要实现单击某个单元格执行指定操作,通过哪个方法实现()。

若要实现单击某个单元格执行指定操作,通过哪个方法实现()。
A.tableView: viewForHeaderInSection
B.tableView: viewForFooterInSection
C.tableView: heightForRowAtIndexPath
D.tableView: didSelectRowAtIndexPath
正确答案:tableView: didSelectRowAtIndexPath