I'm sorry for the title i don't know what to write there.
I have a scrollView with many pages and in each page there are different animations that should start when the user switch to that page.
i tried this:
if (CGPointEqualToPoint (CGPointZero, CGPointZero))
{
//start animation
}
it worked only for the first page
when i changed it to CGPointEqualToPoint (CGPointMake (768, 0), CGPointZero)
for the next page, it's not working.
i am trying to use this `
- (void)scrollViewWillEndDragging:(UIScrollView *)scrollView withVelocity:(CGPoint)velocity targetContentOffset:(inout CGPoint *)targetContentOffset
but then i found out that it is not working when the scrollview pagingEnabled
is YES
.