So i have the following code:
int actualPosition = self.collectionView.contentOffset.y;
NSLog(@"%i", actualPosition);
The output is:
2013-03-28 15:36:42.737 test[10544:907] 484
2013-03-28 15:36:42.754 test[10544:907] 490
2013-03-28 15:36:42.770 test[10544:907] 512
2013-03-28 15:36:42.787 test[10544:907] 550
My question now is: why does it "skip" (as in why does "actualPosition" never have those values) 485-489, 491-511, and 513-549? Shouldn't it log/give actualPosition this value for all the "positions", even when I scroll faster? It works the same way for float, so this does not matter. How do I solve this so that actualPosition receives the value of every position that has been scrolled through?