When a table has many rows, the user can flick up/down the table. This creates a scrolling animation which seems to have a deterministic length depending on the speed/length of the flick gesture. Is it possible to reliably calculate what rows in the table will be visible once the scrolling stops if there is no further user interaction?
Share
In iOS 5.0 and later there is a new API for the UIScrollViewDelegate called scrollViewWillEndDragging:withVelocity:targetContentOffset:. With this new method the stop position of the scroll can be calculated and even modified, as explained in the Video Session 100: What’s New in Cocoa Touch, around the ninth minute.