0

I have a scrollable tableView and I want to add tooltip some of these cells. For this, I made the necessary checks and kept the cellPaths as the row and section of necessary cells to which tooltips will be added.

My problem starts here: if I try to add a tooltip to the cells currently displayed on the screen there is no problem, but if I try to add a tooltip to an off-screen cell I don't know what to do. I will use scrollRowAtIndexPath at some point, but I couldn't check if the cell with the required indexPath is off-screen.

I tried checking by comparing the cell.frame with the frame of the visible screen but it can be an easier approach.

0 Answers0