Detect which image was pressed in tableview cell
ac1dpax opened this issue · comments
Pavel Kaljunen commented
Is it possible to detect which image was pressed in which cell of tableview?
I add LCBannerView as subview of cell view, and have array of photos loaded in lot of cells, how can I detect in which cell photo did pressed? many thanks!
LΞO commented
You could give bannerView a tag
, equal to indexPath.row
, in method tableView: cellForRowAtIndexPath:
.
Than you could get bannerView with delegate method when image be pressed, and also, you could get indexPath.row
.
The hope to help you :)
Pavel Kaljunen commented
Thanks!