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

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

A.tableView: viewForHeaderInSection

B.tableView: viewForFooterInSection

C.tableView: heightForRowAtIndexPath

D.tableView: didSelectRowAtIndexPath

正确答案:tableView: didSelectRowAtIndexPath

猜你喜欢