Hi folks,
I'm trying to find a way to check if several of my table cells are really being seen by users (let's say, if the cell is at least 1px shown, I consider it as being seen). And also need to make sure if users scroll up and down, I'll need to trigger the method. (This should be easy as I can put the check in listener method like DidScroll or something)
Seems like using
indexPathsForVisibleRows
can only give me rows that are almost 100% visible in the screen.
I'm searching for solutions, and looks like using rectForRowAtIndexPath and doing some math with contentOffset may give me what I want. Not sure if there's better way.
Anyone could help? Thanks very much!