Reputation: 38162
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 have the tableView object with me.
Upvotes: 1
Views: 133
Reputation: 16709
use delegate's method tableView:didSelectRowAtIndexPath:
this is the only proper way of obtaining the selected cell.
Upvotes: 2