Is there any way to know which cells are currently being displayed? I’m guessing there might be some type of array property that would store the cells currently on the screen, with the top-most cells having the lowest indexes in the array, or something along those lines. Is there anything like this out there? If not, how could I go about figuring this out?
Share
visibleCells and indexPathsForVisibleRows is what you are looking for.
visibleCellsreturns an array ofUITableViewCellobjects.indexPathForVisibleRowsreturns an array ofNSIndexPathobjects.