开发者

How to know which cell is tapped

How can I get the index path of the cell which has been selected from tableView?

I do not have the index path also. I only h开发者_如何学JAVAave the tableView object with me.


use delegate's method tableView:didSelectRowAtIndexPath:
this is the only proper way of obtaining the selected cell.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜