I have a table view where each table view cell has an image.
I need to determine when an image view is completely visible on scroll. Additionally, if two images in two separate table view cells are completely visible at the same time, I want to only trigger an action for the first image.
I've thought of using willDisplay
, but I've found that this only ever triggers once and it triggers as soon as the cell comes into view.
I also found this question, but it's specific to determining if the table view cell itself is completely visible, rather than a view within a table view cell.
What are my options? What is the best way of going around this?